summaryrefslogtreecommitdiff
path: root/libcpu/mips/common/stackframe.h
diff options
context:
space:
mode:
authorbigmagic <[email protected]>2020-04-06 15:46:28 +0800
committerbigmagic <[email protected]>2020-04-07 14:39:12 +0800
commit990f731b776055390db854f9cc980799e39247e8 (patch)
treec07fb69875a233a156e8dca034bd7d6714fb4a2a /libcpu/mips/common/stackframe.h
parent0f26ffa7a26117396e2763fa74bf397cf907efe3 (diff)
fix mips64 some bug
Diffstat (limited to 'libcpu/mips/common/stackframe.h')
-rw-r--r--libcpu/mips/common/stackframe.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcpu/mips/common/stackframe.h b/libcpu/mips/common/stackframe.h
index 77d55f6934..b5a038d1f6 100644
--- a/libcpu/mips/common/stackframe.h
+++ b/libcpu/mips/common/stackframe.h
@@ -159,11 +159,11 @@
.endm
.macro RESTORE_TEMP
- LONG_L $24, PT_LO(sp)
+ lw $24, PT_LO(sp)
LONG_L $8, PT_R8(sp)
LONG_L $9, PT_R9(sp)
mtlo $24
- LONG_L $24, PT_HI(sp)
+ lw $24, PT_HI(sp)
LONG_L $10, PT_R10(sp)
LONG_L $11, PT_R11(sp)
mthi $24