Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/arch/sparc64/string There's no good reason not to a...
details: https://anonhg.NetBSD.org/src/rev/b7b255408842
branches: trunk
changeset: 495238:b7b255408842
user: mycroft <mycroft%NetBSD.org@localhost>
date: Mon Jul 24 15:24:55 2000 +0000
description:
There's no good reason not to assume a 64-bit stack here.
diffstat:
lib/libc/arch/sparc64/string/bzero.S | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diffs (30 lines):
diff -r 4b1353895535 -r b7b255408842 lib/libc/arch/sparc64/string/bzero.S
--- a/lib/libc/arch/sparc64/string/bzero.S Mon Jul 24 15:15:25 2000 +0000
+++ b/lib/libc/arch/sparc64/string/bzero.S Mon Jul 24 15:24:55 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bzero.S,v 1.5 2000/07/24 07:30:54 mycroft Exp $ */
+/* $NetBSD: bzero.S,v 1.6 2000/07/24 15:24:55 mycroft Exp $ */
/*
* Copyright (c) 1992, 1993, 1999
@@ -51,7 +51,7 @@
#if 0
.asciz "@(#)bzero.s 8.1 (Berkeley) 6/4/93"
#else
- RCSID("$NetBSD: bzero.S,v 1.5 2000/07/24 07:30:54 mycroft Exp $")
+ RCSID("$NetBSD: bzero.S,v 1.6 2000/07/24 15:24:55 mycroft Exp $")
#endif
#endif /* LIBC_SCCS and not lint */
@@ -200,10 +200,7 @@
*
*/
save %sp, -(CC64FSZ+16*4+BLOCK_SIZE), %sp ! Allocate an fpstate
- add %sp, (CC64FSZ+BLOCK_SIZE-1), %l0 ! Calculate pointer to fpstate
- btst 1, %sp
- add %l0, BIAS, %l1 ! Fixup 64-bit stack pointers
- movnz %xcc, %l1, %l0
+ add %sp, (CC64FSZ+BLOCK_SIZE-1+BIAS), %l0 ! Calculate pointer to fpstate
andn %l0, BLOCK_ALIGN, %l0 ! And make it block aligned
! wr %g0, FPRS_FEF, %fprs ! Enable FPU
Home |
Main Index |
Thread Index |
Old Index