summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/cpu/sparc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-08-01 15:06:00 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-08-01 15:06:00 +0000
commit16bae520acca43dd267bc5d1238ef82e2fe3bf29 (patch)
tree96110ad1f32c3ffc4be9c440a1bd5e747a28cf5b /c/src/exec/score/cpu/sparc
parentadded key test (diff)
downloadrtems-16bae520acca43dd267bc5d1238ef82e2fe3bf29.tar.bz2
added 3 nops following write to wim since a restore following it is
subject to causing unpredictable window underflow/overflows.
Diffstat (limited to 'c/src/exec/score/cpu/sparc')
-rw-r--r--c/src/exec/score/cpu/sparc/cpu_asm.s3
1 files changed, 3 insertions, 0 deletions
diff --git a/c/src/exec/score/cpu/sparc/cpu_asm.s b/c/src/exec/score/cpu/sparc/cpu_asm.s
index f3c3435ca8..692da0edb2 100644
--- a/c/src/exec/score/cpu/sparc/cpu_asm.s
+++ b/c/src/exec/score/cpu/sparc/cpu_asm.s
@@ -683,6 +683,9 @@ simple_return:
*/
wr %l4, 0, %wim ! WIM = new WIM
+ nop ! must delay after writing WIM
+ nop
+ nop
restore ! now into the tasks window
ldd [%g1 + CPU_STACK_FRAME_L0_OFFSET], %l0