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)
committerandroid-build SharedAccount <android-build@sekiwake.mtv.corp.google.com>
Thu, 15 Jul 2010 18:37:12 +0000 (11:37 -0700)
commit1daf86bdb630efa96147220019e1a97c853ed3d2
tree9485b88063fdc21e7ac1c777e0d699c1b0034b24
parentba7e99a13ccb03611781cfec2631303cc042c76a
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