summaryrefslogtreecommitdiff
path: root/lib/libc/arch/vax/gen/modf.S
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-07-05 21:10:51 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-07-05 21:10:51 +0000
commita4ad12e3d1a512b89d9d85f6febc3f1c1bf7ea22 (patch)
tree081554f6ab8a597fdf4025181d92fd919da94a3e /lib/libc/arch/vax/gen/modf.S
parent50508fdc39c1c58bc7a03b6cad331ab7b3917975 (diff)
VAX ELF userland bits. Consists mostly of register prefix additions.
Diffstat (limited to 'lib/libc/arch/vax/gen/modf.S')
-rw-r--r--lib/libc/arch/vax/gen/modf.S14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libc/arch/vax/gen/modf.S b/lib/libc/arch/vax/gen/modf.S
index 1659059831f..5ec88d1eab1 100644
--- a/lib/libc/arch/vax/gen/modf.S
+++ b/lib/libc/arch/vax/gen/modf.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: modf.S,v 1.8 2011/07/08 22:28:33 martynas Exp $ */
+/* $OpenBSD: modf.S,v 1.9 2013/07/05 21:10:50 miod Exp $ */
/*
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
@@ -39,16 +39,16 @@
#include "DEFS.h"
ENTRY(modf, R2)
- cvtdl 4(ap),r2
+ cvtdl 4(%ap),%r2
bvs 0f
- cvtld r2,*12(ap)
- subd3 *12(ap),4(ap),r0
+ cvtld %r2,*12(%ap)
+ subd3 *12(%ap),4(%ap),%r0
ret
0:
- emodd 4(ap),$0,$0f1.0,r2,r0
+ emodd 4(%ap),$0,$0f1.0,%r2,%r0
bvs 1f # integer overflow
- cvtld r2,*12(ap)
+ cvtld %r2,*12(%ap)
ret
1:
- subd3 r0,4(ap),*12(ap)
+ subd3 %r0,4(%ap),*12(%ap)
ret