summaryrefslogtreecommitdiff
path: root/src/compiler/codegen/mips/MipsLIR.h
diff options
context:
space:
mode:
author jeffhao <jeffhao@google.com> 2012-10-12 17:03:32 -0700
committer jeffhao <jeffhao@google.com> 2012-10-12 17:03:32 -0700
commitfa147e22a73c6df166b08a2f71f9c9b52b09d17c (patch)
treed50b1c6b89de4fcc4473f2aa2defe3bbc0f8289c /src/compiler/codegen/mips/MipsLIR.h
parent4fe0ef28ed58502a3652e827f5931df0b45cf39c (diff)
Numerous fixes to MIPS. Basic oatexec works.
- Fixed reversed base and destination reg in genConstString - Changed compiler to use T9 to hold address to jump to - Fixed compilation of instruction getting current PC - Prevented T9 from being used as a compiler temp - Fixed loadBaseDispBody for long form single loads - Fixed stack setup for SaveAll callee methods to save rSELF & rSUSPEND - Added .cpload directive to assembly to regenerate $gp when overwritten - Fixed passing of extra arguments on the stack to account for space reserved for $a0-$a3 - Fixed resolution trampoline to properly setup and restore stack - Created mips stubs for interface trampoline and unresolved direct method trampoline Change-Id: I63a3fd0366bdfabdebebf58ec4b8bc9443cec355
Diffstat (limited to 'src/compiler/codegen/mips/MipsLIR.h')
-rw-r--r--src/compiler/codegen/mips/MipsLIR.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/codegen/mips/MipsLIR.h b/src/compiler/codegen/mips/MipsLIR.h
index ab4f844dba..5e5147a96b 100644
--- a/src/compiler/codegen/mips/MipsLIR.h
+++ b/src/compiler/codegen/mips/MipsLIR.h
@@ -301,7 +301,7 @@ enum NativeRegisterPool {
#define rARG3 r_ARG3
#define rRET0 r_RESULT0
#define rRET1 r_RESULT1
-#define rINVOKE_TGT r_V0
+#define rINVOKE_TGT r_T9
/* Shift encodings */
enum MipsShiftEncodings {