From 748dd957eecbce2f379a3182ce95c19be308a54e Mon Sep 17 00:00:00 2001 From: Chris Dearman Date: Fri, 23 May 2014 10:47:01 -0700 Subject: [PATCH] [MIPS] Remove warnings about use of at register Also, don't restore k0 and k1 as part of long jump as they are reserved for kernel usage. Change-Id: I4eec9eb5d21de96ca79f2cef9407a0e19c9c2178 --- runtime/arch/mips/quick_entrypoints_mips.S | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/runtime/arch/mips/quick_entrypoints_mips.S b/runtime/arch/mips/quick_entrypoints_mips.S index 95fcd7389..96e0afd4b 100644 --- a/runtime/arch/mips/quick_entrypoints_mips.S +++ b/runtime/arch/mips/quick_entrypoints_mips.S @@ -298,7 +298,11 @@ ENTRY art_quick_do_long_jump l.s $f29, 116($a1) l.s $f30, 120($a1) l.s $f31, 124($a1) + .set push + .set nomacro + .set noat lw $at, 4($a0) + .set pop lw $v0, 8($a0) lw $v1, 12($a0) lw $a1, 20($a0) @@ -322,8 +326,6 @@ ENTRY art_quick_do_long_jump lw $s7, 92($a0) lw $t8, 96($a0) lw $t9, 100($a0) - lw $k0, 104($a0) - lw $k1, 108($a0) lw $gp, 112($a0) lw $sp, 116($a0) lw $fp, 120($a0) -- 2.11.0