diff options
author | Vladimir Marko <vmarko@google.com> | 2017-10-03 11:37:52 +0100 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2017-10-03 12:44:47 +0100 |
commit | c8fb211482e27ead6f015faf7e2b02225f728e99 (patch) | |
tree | b9702c99bc3fd2c09e93905b6ea1fdb0d2c9d970 /compiler/optimizing/codegen_test_utils.h | |
parent | 5adf26c26d6b662d95712f39c40946e23da8b650 (diff) |
ART: Simplify And(TypeConversion<Int64>(x), Const32).
Reorder the And and TypeConversion as
TypeConversion<Int64>(And(x, Const32))
for 32-bit constant Const32.
For example, java.io.Bits.getLong(byte[] b, int off) yields
better generated code on 32-bit platforms for each of its
eight "b[off + .] & 0xFFL" sequences.
Also remove obsolete "doThrow" code that attempts to prevent
inlining; the $noinline$ tag is now honored by the compiler.
Test: Added tests to 458-checker-instruct-simplification.
Test: m test-art-host-gtest
Test: testrunner.py --host
Change-Id: Ib6e413517daa5206764653ebb6c4687a4c68d02d
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions