OSDN Git Service

ART: GenLongArith has to clobber same operands for 2-op instr
authornikolay serdjuk <nikolay.y.serdjuk@intel.com>
Thu, 13 Nov 2014 12:15:23 +0000 (18:15 +0600)
committerIan Rogers <irogers@google.com>
Sat, 22 Nov 2014 00:19:07 +0000 (16:19 -0800)
commit6b9356cf0feb2a4100798481869fd4d18180c29f
treeffc200bef4c0432e333beca6125cff2ea261b0d8
parent19010dcdc5b13117633061ab5a7a444fda223f20
ART: GenLongArith has to clobber same operands for 2-op instr

When we generate code for 'add-long/2addr v4, v4' and v4 is in
memory, we load v4 in a physical register, do operation and
store result in memory. After that, we should clobber the
physical register because it is not valid anymore.

Change-Id: I80903a831040bbfdf8a07810b6b2e8090fe1158c
Signed-off-by: nikolay serdjuk <nikolay.y.serdjuk@intel.com>
compiler/dex/quick/x86/int_x86.cc