OSDN Git Service

AArch64: Improve MIR to LIR translation for abs
authorMartyn Capewell <martyn.capewell@arm.com>
Thu, 7 Aug 2014 10:31:48 +0000 (11:31 +0100)
committerAlexandre Rames <alexandre.rames@arm.com>
Wed, 20 Aug 2014 15:31:55 +0000 (16:31 +0100)
commit9a8a506b1cd639ad4126c19530cd206d8d3923c3
treefcc607eabaf897a71c2d919dfa5594997850782f
parentd684cbfbe8abfb9aea4de27687041243217295c7
AArch64: Improve MIR to LIR translation for abs

Improve translation by using a shorter and more efficient sequence for integer
abs, and replacing UBFM with AND for FP abs in integer registers.

Change-Id: Ifc39cd7806ed637d5cfc3284c435b5d501047eb5
Signed-off-by: Alexandre Rames <alexandre.rames@arm.com>
compiler/dex/quick/arm64/codegen_arm64.h
compiler/dex/quick/arm64/fp_arm64.cc
compiler/dex/quick/arm64/int_arm64.cc
compiler/dex/quick/mir_to_lir.h