summaryrefslogtreecommitdiff
path: root/lib/libm/arch/vax/n_infnan.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libm/arch/vax/n_infnan.S')
-rw-r--r--lib/libm/arch/vax/n_infnan.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libm/arch/vax/n_infnan.S b/lib/libm/arch/vax/n_infnan.S
index 6edf8d7c9c9..aff89c9fd46 100644
--- a/lib/libm/arch/vax/n_infnan.S
+++ b/lib/libm/arch/vax/n_infnan.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: n_infnan.S,v 1.3 2008/05/21 20:37:10 miod Exp $ */
+/* $OpenBSD: n_infnan.S,v 1.4 2013/07/05 21:10:50 miod Exp $ */
/* $NetBSD: n_infnan.S,v 1.1 1995/10/10 23:40:27 ragge Exp $ */
/*
* Copyright (c) 1985, 1993
@@ -43,10 +43,10 @@
* The Reserved Operand Fault is generated inside of this routine.
*/
ENTRY(infnan,0)
- cmpl 4(ap),$ERANGE
+ cmpl 4(%ap),$ERANGE
bneq 1f
movl $ERANGE,_C_LABEL(errno)
brb 2f
1: movl $EDOM,_C_LABEL(errno)
-2: emodd $0,$0,$0x8000,r0,r0 # generates the reserved operand fault
+2: emodd $0,$0,$0x8000,%r0,%r0 # generates the reserved operand fault
ret