diff options
author | Mark Mendell <mark.p.mendell@intel.com> | 2015-05-05 21:34:03 -0400 |
---|---|---|
committer | Mark Mendell <mark.p.mendell@intel.com> | 2015-05-11 08:44:54 -0400 |
commit | ba56d060116d6e145be348fa575314654c6b0572 (patch) | |
tree | 4ef90809f6628435a60320b8fa0fd939849e2d29 /compiler/optimizing/stack_map_stream.h | |
parent | 6727a48193db2a0cf01af971cccffe1a6518c247 (diff) |
[optimizing] Improve 32 bit long shift by 1.
Also change FOO << 1 to FOO+FOO in the instruction simplifier. This is
an architecture independent simplification, which helps 'long << 1' for
32 bit architectures.
Generate an add/adc for long << 1 in x86, in case something is generated
after the simplifier.
Add test cases for the simplification.
Change-Id: I0d512331ef13cc4ccf10c80f11c370a10ed02294
Signed-off-by: Mark Mendell <mark.p.mendell@intel.com>
Diffstat (limited to 'compiler/optimizing/stack_map_stream.h')
0 files changed, 0 insertions, 0 deletions