summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-09-10 22:40:22 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-09-10 22:40:22 +0000
commitbe5ab7cfffbd6a2c8733bf14b48fd5ec31ca961a (patch)
treec38212160cbd71454f47cec3995b77e158a8b980 /sys/arch
parent5a30d45cedc93970c728636b6dc6368266985c1d (diff)
Don't use the VIS instructions for bcopy and bzero.
We have enough floating point problems without multimedia in the kernel.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc64/sparc64/locore.s6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc64/sparc64/locore.s b/sys/arch/sparc64/sparc64/locore.s
index dabcdfabd05..ffffe27601a 100644
--- a/sys/arch/sparc64/sparc64/locore.s
+++ b/sys/arch/sparc64/sparc64/locore.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.s,v 1.7 2001/09/06 10:45:41 art Exp $ */
+/* $OpenBSD: locore.s,v 1.8 2001/09/10 22:40:21 art Exp $ */
/* $NetBSD: locore.s,v 1.137 2001/08/13 06:10:10 jdolecek Exp $ */
/*
@@ -9227,7 +9227,7 @@ Lovbcopy:
* Plenty of data to copy, so try to do it optimally.
*/
2:
-#if 1
+#if 0
! If it is big enough, use VIS instructions
bge Lbcopy_block
nop
@@ -10856,7 +10856,7 @@ Lbzero_internal:
sllx %o1, 32, %o3
or %o1, %o3, %o1
1:
-#if 1
+#if 0
!! Now we are 64-bit aligned
cmp %o2, 256 ! Use block clear if len > 256
bge,pt %xcc, Lbzero_block ! use block store insns