OSDN Git Service

JIT: Fix for 2813841, use core regs for sub-word data
authorBill Buzbee <buzbee@google.com>
Wed, 7 Jul 2010 13:55:56 +0000 (06:55 -0700)
committerBen Cheng <bccheng@android.com>
Fri, 9 Jul 2010 18:31:05 +0000 (11:31 -0700)
commitb6d372886d145716f1f62d39726ea06255ebe76d
tree4038b6d0e24276ff23b7f90463fc6190abb2db12
parent6296a2e8e97d76165a83320b06e32fba0f5a5625
JIT: Fix for 2813841, use core regs for sub-word data

In an attempt to avoid unnecessary register copies, the JIT allows
data items to live in either floating point or core registers until
an instruction is used which requires one or the other.  The bug here
was that sub-word data was allowed to live in floating point registers
at the point of a load or store.  This cl forces the use of core registers
in those cases.

Change-Id: Iaee57545c6a62990186a5d0ab5bb22728d75dd60
vm/compiler/codegen/arm/CodegenDriver.c
vm/compiler/codegen/arm/Ralloc.h
vm/compiler/codegen/arm/Thumb2/Factory.c
vm/compiler/codegen/arm/Thumb2/Ralloc.c