projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfd9d70
)
ARCv2: mm: TLB Miss optim: Use double world load/stores LDD/STD
author
Vineet Gupta
<vgupta@synopsys.com>
Wed, 11 Feb 2015 13:07:43 +0000
(18:37 +0530)
committer
Vineet Gupta
<vgupta@synopsys.com>
Mon, 28 Oct 2019 19:12:32 +0000
(12:12 -0700)
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/mm/tlbex.S
patch
|
blob
|
history
diff --git
a/arch/arc/mm/tlbex.S
b/arch/arc/mm/tlbex.S
index d6fbdeda400addfbc12e35dfc081a0c48f13bcae..110c72536e8b5cf5ee12ac25c6a292c90933675f 100644
(file)
--- a/
arch/arc/mm/tlbex.S
+++ b/
arch/arc/mm/tlbex.S
@@
-122,17
+122,27
@@
ex_saved_reg1:
#else /* ARCv2 */
.macro TLBMISS_FREEUP_REGS
+#ifdef CONFIG_ARC_HAS_LL64
+ std r0, [sp, -16]
+ std r2, [sp, -8]
+#else
PUSH r0
PUSH r1
PUSH r2
PUSH r3
+#endif
.endm
.macro TLBMISS_RESTORE_REGS
+#ifdef CONFIG_ARC_HAS_LL64
+ ldd r0, [sp, -16]
+ ldd r2, [sp, -8]
+#else
POP r3
POP r2
POP r1
POP r0
+#endif
.endm
#endif