summaryrefslogtreecommitdiffstats
path: root/sys/lib/libkern/arch/vax/bzero.S
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2013-07-05 21:11:57 +0000
committermiod <miod@openbsd.org>2013-07-05 21:11:57 +0000
commitbbe001e9128f508fa19ca56a409d24e6bdf7d6f9 (patch)
treea39cc1a3da85633fa4de750ade4fc1a573acf5e4 /sys/lib/libkern/arch/vax/bzero.S
parentVAX ELF userland bits. Consists mostly of register prefix additions. (diff)
downloadwireguard-openbsd-bbe001e9128f508fa19ca56a409d24e6bdf7d6f9.tar.xz
wireguard-openbsd-bbe001e9128f508fa19ca56a409d24e6bdf7d6f9.zip
VAX ELF kernel bits.
Diffstat (limited to 'sys/lib/libkern/arch/vax/bzero.S')
-rw-r--r--sys/lib/libkern/arch/vax/bzero.S14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/lib/libkern/arch/vax/bzero.S b/sys/lib/libkern/arch/vax/bzero.S
index c3fd12bb3d5..0c21e05f0e1 100644
--- a/sys/lib/libkern/arch/vax/bzero.S
+++ b/sys/lib/libkern/arch/vax/bzero.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: bzero.S,v 1.3 2009/08/19 19:47:53 miod Exp $ */
+/* $OpenBSD: bzero.S,v 1.4 2013/07/05 21:11:57 miod Exp $ */
/*
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
@@ -33,14 +33,14 @@
#include <machine/asm.h>
ENTRY(bzero, R2|R3|R4|R5)
- movl 4(ap),r3
+ movl 4(%ap),%r3
jbr 2f
1:
- subl2 r0,8(ap)
- movc5 $0,(r3),$0,r0,(r3)
+ subl2 %r0,8(%ap)
+ movc5 $0,(%r3),$0,%r0,(%r3)
2:
- movzwl $65535,r0
- cmpl 8(ap),r0
+ movzwl $65535,%r0
+ cmpl 8(%ap),%r0
jgtr 1b
- movc5 $0,(r3),$0,8(ap),(r3)
+ movc5 $0,(%r3),$0,8(%ap),(%r3)
ret