summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hellstrom <daniel@gaisler.com>2014-05-27 11:15:46 +0200
committerDaniel Hellstrom <daniel@gaisler.com>2014-11-19 16:29:58 +0100
commitde4b74fd8478a569780e4565f864678f2014a6bc (patch)
tree32b606a913b2fb8437cd832f7fdc7d7fd9fbe363
parentc0040d8ea80788d91ccad7ea05e94c0ce9503943 (diff)
SPARC: window overflow optimization
I see no need for waiting the 3 instruction delay for wim to be written in this case, since the STD after does not depend on WIM
-rw-r--r--c/src/lib/libcpu/sparc/reg_win/window.S1
1 files changed, 0 insertions, 1 deletions
diff --git a/c/src/lib/libcpu/sparc/reg_win/window.S b/c/src/lib/libcpu/sparc/reg_win/window.S
index dffac6af92..453cc74ce4 100644
--- a/c/src/lib/libcpu/sparc/reg_win/window.S
+++ b/c/src/lib/libcpu/sparc/reg_win/window.S
@@ -61,7 +61,6 @@ SYM(window_overflow_trap_handler):
save ! Get into window to be saved.
mov %g1, %wim ! load new WIM
- nop; nop; nop ! 3 slot delay
std %l0, [%sp + 0x00] ! save local register set
std %l2, [%sp + 0x08]
std %l4, [%sp + 0x10]