diff options
author | davem <davem@cvs.openbsd.org> | 1995-12-03 02:24:17 +0000 |
---|---|---|
committer | davem <davem@cvs.openbsd.org> | 1995-12-03 02:24:17 +0000 |
commit | 352e46b8c20951a6d03129d95fea8d99e81953a4 (patch) | |
tree | 4f5d077a21c9cfe13a66f881a6f8a6676d59751f /sys/arch | |
parent | e58e619e6b204d246338fe3b9acc8434e1ea015d (diff) |
Restore condition codes if we pull the special_fp_store
trick before returning from the trap.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sparc/sparc/locore.s | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arch/sparc/sparc/locore.s b/sys/arch/sparc/sparc/locore.s index 5fe3bf0cea9..0ada5b63f1f 100644 --- 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 |