summaryrefslogtreecommitdiff
path: root/src/compiler/codegen/CodegenFactory.cc
diff options
context:
space:
mode:
author jeffhao <jeffhao@google.com> 2012-07-13 17:25:52 -0700
committer jeffhao <jeffhao@google.com> 2012-07-20 17:21:18 -0700
commit703f2cd1f4d1eb5ab5c9792ca2de9ffb39378203 (patch)
tree652ceef30d52a13854c14bb0a6f586e96421f625 /src/compiler/codegen/CodegenFactory.cc
parente6e0651c7f0480e18d648200f8958c3463e82a2f (diff)
Numerous fixes to enable PromoteRegs, though it's still broken.
- Fixed ThrowNullPointerFromCode launchpad to load the array length directly into the necessary arg reg without clobbering the array pointer, since that value may be live afterwards. - genArrayPut use a temporary reg for bytes if the source reg is >= 4, since x86 can't express this. - Fixed the order that core regs are spilled and unspilled. - Correctly emit instructions when base == rBP and disp == 0. - Added checks to the compiler to ensure that byte opcodes aren't used on registers that can't be byte accessed. - Fixed generation of a number of ops which use byte opcodes, including floating point comparison, int-to-byte, and and-int/lit16. - Added rBP, rSI, and rDI to spill registers for the x86 jni compiler. - Various fixes and additions to the x86 disassembler. Change-Id: I365fe7dec5cc64d181248fd58e90789f100b45e7
Diffstat (limited to 'src/compiler/codegen/CodegenFactory.cc')
0 files changed, 0 insertions, 0 deletions