summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-07-14 01:46:14 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-07-14 01:46:14 +0000
commite993b536514c267b8e572ae046badb27b45a227a (patch)
tree633d7b2bfd9385e5e9fe9dc7f2a5afca8b431778 /sys/arch
parent2cbf4044bf70273b2753866b640e2d7290d483ed (diff)
use symbolic names for checking in %fprs, as above
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc64/sparc64/locore.s8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/sparc64/sparc64/locore.s b/sys/arch/sparc64/sparc64/locore.s
index 4be5bdc286b..4b31b832513 100644
--- a/sys/arch/sparc64/sparc64/locore.s
+++ b/sys/arch/sparc64/sparc64/locore.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.s,v 1.49 2005/03/29 19:34:07 kettenis Exp $ */
+/* $OpenBSD: locore.s,v 1.50 2005/07/14 01:46:13 deraadt Exp $ */
/* $NetBSD: locore.s,v 1.137 2001/08/13 06:10:10 jdolecek Exp $ */
/*
@@ -4944,11 +4944,11 @@ _C_LABEL(sigcode):
* Now that the handler has returned, re-establish all the state
* we just saved above, then do a sigreturn.
*/
- btst 3, %l0 ! All clean?
+ btst FPRS_DL|FPRS_DU, %l0 ! All clean?
bz,pt %icc, 2f
- btst 1, %l0 ! test dl
+ btst FPRS_DL, %l0 ! test dl
bz,pt %icc, 1f
- btst 2, %l0 ! test du
+ btst FPRS_DU, %l0 ! test du
ldx [%sp + CC64FSZ + BIAS + 0], %fsr
add %sp, BIAS+CC64FSZ+BLOCK_SIZE, %l0 ! Generate a pointer so we can