OSDN Git Service

ART: Release inputs in Long.reverse intrinsic in x86
authorAndreas Gampe <agampe@google.com>
Tue, 7 Jul 2015 20:25:58 +0000 (13:25 -0700)
committerAndreas Gampe <agampe@google.com>
Wed, 8 Jul 2015 15:49:33 +0000 (15:49 +0000)
commit575422fa5be7389bdaff5e2d25dd87b1d2d4de85
tree227c8b864224b2abdb612aa126616d6b453d5b10
parentee35ff809616324cbada38cbc0610eb09da09b35
ART: Release inputs in Long.reverse intrinsic in x86

In the worst case we are using two temps each for input and output.
Then we do not have a temp left over for the swap operations. The
input is dead, however, after the first swap. So try to release it
(a no-op if it isn't actually a temp).

Bug: 22324327
Change-Id: I1fc50159afdad14160e34abeaf4670958171d6b2
compiler/dex/quick/x86/int_x86.cc
test/082-inline-execute/src/Main.java