History log of /art/test/431-optimizing-arith-shifts/src/Main.java
Revision Date Author Comments
9b57966e341cd9937c2ef825986e268fda150374 18-Mar-2016 Roland Levillain <rpl@google.com> Revamp run-test 431-optimizing-arith-shifts.

Only pass (32-bit) int values as distances.

Change-Id: Ie6f0422cfc0ca31f5e6b5797fe4f0bfcea003df4
ba56d060116d6e145be348fa575314654c6b0572 06-May-2015 Mark Mendell <mark.p.mendell@intel.com> [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>
8c3961a4b7916ec570c8f90b8f277b6f67470276 24-Nov-2014 Calin Juravle <calin@google.com> Fixed missing "//".

Change-Id: Ife5338d469e9db0b0ea37746dee11a40a52615f1
9aec02fc5df5518c16f1e5a9b6cb198a192db973 19-Nov-2014 Calin Juravle <calin@google.com> [optimizing compiler] Add shifts

Added SHL, SHR, USHR for arm, x86, x86_64.

Change-Id: I971f594e270179457e6958acf1401ff7630df07e