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 Removy now unused {s, f}uword
details: https://anonhg.NetBSD.org/src/rev/b8c9c81fa7bf
branches: trunk
changeset: 811931:b8c9c81fa7bf
user: martin <martin%NetBSD.org@localhost>
date: Sun Nov 22 10:18:14 2015 +0000
description:
Removy now unused {s,f}uword
diffstat:
sys/arch/sparc64/sparc64/copy.S | 37 +------------------------------------
1 files changed, 1 insertions(+), 36 deletions(-)
diffs (65 lines):
diff -r 3b12083ef56d -r b8c9c81fa7bf sys/arch/sparc64/sparc64/copy.S
--- a/sys/arch/sparc64/sparc64/copy.S Sun Nov 22 09:37:33 2015 +0000
+++ b/sys/arch/sparc64/sparc64/copy.S Sun Nov 22 10:18:14 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: copy.S,v 1.5 2015/10/17 19:29:48 nakayama Exp $ */
+/* $NetBSD: copy.S,v 1.6 2015/11/22 10:18:14 martin Exp $ */
/*
* Copyright (c) 2006-2010 Matthew R. Green
@@ -679,23 +679,6 @@
/*
* {fu,su}{,i}{byte,word}
*/
-ALTENTRY(fuiword)
-ENTRY(fuword)
- btst 3, %o0 ! has low bits set...
- bnz Lfsbadaddr ! go return -1
- .empty
- sethi %hi(CPCB), %o2 ! cpcb->pcb_onfault = Lfserr;
- set Lfserr, %o3
- LDPTR [%o2 + %lo(CPCB)], %o2
- membar #LoadStore
- STPTR %o3, [%o2 + PCB_ONFAULT]
- membar #Sync
- LDPTRA [%o0] ASI_AIUS, %o0 ! fetch the word
- membar #Sync
- STPTR %g0, [%o2 + PCB_ONFAULT]! but first clear onfault
- retl ! phew, made it, return the word
- membar #StoreStore|#StoreLoad
-
Lfserr:
STPTR %g0, [%o2 + PCB_ONFAULT]! error in r/w, clear pcb_onfault
membar #StoreStore|#StoreLoad
@@ -759,23 +742,6 @@
retl ! made it
membar #StoreStore|#StoreLoad
-ALTENTRY(suiword)
-ENTRY(suword)
- btst 3, %o0 ! or has low bits set ...
- bnz Lfsbadaddr ! go return error
- .empty
- sethi %hi(CPCB), %o2 ! cpcb->pcb_onfault = Lfserr;
- LDPTR [%o2 + %lo(CPCB)], %o2
- set Lfserr, %o3
- STPTR %o3, [%o2 + PCB_ONFAULT]
- membar #Sync
- STPTRA %o1, [%o0] ASI_AIUS ! store the word
- membar #Sync
- STPTR %g0, [%o2 + PCB_ONFAULT]! made it, clear onfault
- membar #StoreStore|#StoreLoad
- retl ! and return 0
- clr %o0
-
ENTRY(suswintr)
sethi %hi(CPCB), %o2 ! cpcb->pcb_onfault = _Lfsbail;
LDPTR [%o2 + %lo(CPCB)], %o2
@@ -802,7 +768,6 @@
retl ! and return 0
clr %o0
-ALTENTRY(suibyte)
ENTRY(subyte)
sethi %hi(CPCB), %o2 ! cpcb->pcb_onfault = Lfserr;
LDPTR [%o2 + %lo(CPCB)], %o2
Home |
Main Index |
Thread Index |
Old Index