artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
142dbb3
)
Restore condition codes if we pull the special_fp_store
author
davem
<davem@openbsd.org>
Sun, 3 Dec 1995 02:24:16 +0000
(
02:24
+0000)
committer
davem
<davem@openbsd.org>
Sun, 3 Dec 1995 02:24:16 +0000
(
02:24
+0000)
trick before returning from the trap.
sys/arch/sparc/sparc/locore.s
patch
|
blob
|
history
diff --git
a/sys/arch/sparc/sparc/locore.s
b/sys/arch/sparc/sparc/locore.s
index
5fe3bf0
..
0ada5b6
100644
(file)
--- a/
sys/arch/sparc/sparc/locore.s
+++ b/
sys/arch/sparc/sparc/locore.s
@@
-1340,6
+1340,8
@@
fp_exception:
EMPTY
sethi %hi(savefpcont), %l4 ! yes, "return" to the special code
or %lo(savefpcont), %l4, %l4
+ wr %l0, 0x0, %psr
+ nop; nop; nop;
jmp %l4
rett %l4 + 4