Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/sparc64 Optimization to pmap_zero_page(): w...
details: https://anonhg.NetBSD.org/src/rev/8f9e77fef17d
branches: trunk
changeset: 495243:8f9e77fef17d
user: mycroft <mycroft%NetBSD.org@localhost>
date: Mon Jul 24 16:21:02 2000 +0000
description:
Optimization to pmap_zero_page(): we only need to use the first 16 FP regs,
as in bzero().
diffstat:
sys/arch/sparc64/sparc64/locore.s | 12 ++----------
1 files changed, 2 insertions(+), 10 deletions(-)
diffs (33 lines):
diff -r 02e1c3d75f59 -r 8f9e77fef17d sys/arch/sparc64/sparc64/locore.s
--- a/sys/arch/sparc64/sparc64/locore.s Mon Jul 24 16:08:18 2000 +0000
+++ b/sys/arch/sparc64/sparc64/locore.s Mon Jul 24 16:21:02 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.s,v 1.88 2000/07/24 16:08:18 mycroft Exp $ */
+/* $NetBSD: locore.s,v 1.89 2000/07/24 16:21:02 mycroft Exp $ */
/*
* Copyright (c) 1996-1999 Eduardo Horvath
* Copyright (c) 1996 Paul Kranenburg
@@ -8582,14 +8582,6 @@
fzero %f10
fzero %f12
fzero %f14
- fzero %f16 ! And second bank
- fzero %f18
- fzero %f20
- fzero %f22
- fzero %f24
- fzero %f26
- fzero %f28
- fzero %f30
stxa %o3, [%o3] ASI_DMMU_DEMAP ! Do the demap
membar #Sync ! No real reason for this XXXX
@@ -8610,7 +8602,7 @@
stda %f0, [%o2] ASI_BLK_COMMIT_P ! Store 64 bytes
add %o2, 64, %o2
dec 128, %o4
- stda %f16, [%o2] ASI_BLK_COMMIT_P ! Store 64 bytes
+ stda %f0, [%o2] ASI_BLK_COMMIT_P ! Store 64 bytes
brgz,pt %o4, 1b
add %o2, 64, %o2
Home |
Main Index |
Thread Index |
Old Index