_C_LABEL()

This commit is contained in:
msaitoh 2001-02-14 17:57:31 +00:00
parent d64f080341
commit 2633a5dcb5
10 changed files with 64 additions and 80 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: locore.s,v 1.5 2001/02/05 18:14:42 thorpej Exp $ */
/* $NetBSD: locore.s,v 1.6 2001/02/14 17:57:31 msaitoh Exp $ */
/*-
* Copyright (c) 1993, 1994, 1995, 1997
@ -1079,7 +1079,7 @@ XLP_ADDR: .long P_ADDR
XLwhichqs: .long _C_LABEL(sched_whichqs)
XLwant_resched: .long _C_LABEL(want_resched)
XXXLcurproc: .long _C_LABEL(curproc)
XL_ConvVtoP: .long _ConvVtoP
XL_ConvVtoP: .long _C_LABEL(ConvVtoP)
XL_KernelSp: .long KernelSp
XL_SHREG_TTB: .long SHREG_TTB
#if defined(LOCKDEBUG)
@ -1361,7 +1361,7 @@ _C_LABEL(MonTrap600):
.align 2
1:
.long _C_LABEL(ihandler)
_MonTrap600_end:
_C_LABEL(MonTrap600_end):
/*
* Immediate Data
@ -1496,7 +1496,7 @@ XL_KCSAREA: .long 0x80000000
XXL_SHREG_TTB: .long SHREG_TTB
XL_P2AREA: .long 0xa0000000
#ifdef SH4
XL_cacheflush: .long _sh4_cache_flush
XL_cacheflush: .long _C_LABEL(sh4_cache_flush)
#endif
Xrecurse:

View File

@ -1,4 +1,4 @@
/* $NetBSD: locore.s,v 1.30 2001/02/05 18:14:43 thorpej Exp $ */
/* $NetBSD: locore.s,v 1.31 2001/02/14 17:57:31 msaitoh Exp $ */
/*-
* Copyright (c) 1993, 1994, 1995, 1997
@ -1080,7 +1080,7 @@ XLP_ADDR: .long P_ADDR
XLwhichqs: .long _C_LABEL(sched_whichqs)
XLwant_resched: .long _C_LABEL(want_resched)
XXXLcurproc: .long _C_LABEL(curproc)
XL_ConvVtoP: .long _ConvVtoP
XL_ConvVtoP: .long _C_LABEL(ConvVtoP)
XL_KernelSp: .long KernelSp
XL_SHREG_TTB: .long SHREG_TTB
#if defined(LOCKDEBUG)
@ -1362,7 +1362,7 @@ _C_LABEL(MonTrap600):
.align 2
1:
.long _C_LABEL(ihandler)
_MonTrap600_end:
_C_LABEL(MonTrap600_end):
/*
* Immediate Data
@ -1497,7 +1497,7 @@ XL_KCSAREA: .long 0x80000000
XXL_SHREG_TTB: .long SHREG_TTB
XL_P2AREA: .long 0xa0000000
#ifdef SH4
XL_cacheflush: .long _sh4_cache_flush
XL_cacheflush: .long _C_LABEL(sh4_cache_flush)
#endif
Xrecurse:

View File

@ -1,4 +1,4 @@
/* $NetBSD: locore.s,v 1.6 2001/02/07 15:29:21 uch Exp $ */
/* $NetBSD: locore.s,v 1.7 2001/02/14 17:57:32 msaitoh Exp $ */
/*-
* Copyright (c) 1993, 1994, 1995, 1997
@ -937,7 +937,7 @@ XLP_ADDR: .long P_ADDR
XLwhichqs: .long _C_LABEL(sched_whichqs)
XLwant_resched: .long _C_LABEL(want_resched)
XXXLcurproc: .long _C_LABEL(curproc)
XL_ConvVtoP: .long _ConvVtoP
XL_ConvVtoP: .long _C_LABEL(ConvVtoP)
XL_KernelSp: .long KernelSp
XL_SHREG_TTB: .long SHREG_TTB
#if defined(LOCKDEBUG)
@ -1219,7 +1219,7 @@ _C_LABEL(MonTrap600):
.align 2
1:
.long _C_LABEL(ihandler)
_MonTrap600_end:
_C_LABEL(MonTrap600_end):
/*
* Immediate Data
@ -1354,7 +1354,7 @@ XL_KCSAREA: .long 0x80000000
XXL_SHREG_TTB: .long SHREG_TTB
XL_P2AREA: .long 0xa0000000
#ifdef SH4
XL_cacheflush: .long _sh4_cache_flush
XL_cacheflush: .long _C_LABEL(sh4_cache_flush)
#endif
Xrecurse:

View File

@ -1,4 +1,4 @@
/* $NetBSD: in_cksum.S,v 1.2 2000/02/22 02:17:05 msaitoh Exp $ */
/* $NetBSD: in_cksum.S,v 1.3 2001/02/14 17:59:38 msaitoh Exp $ */
/*-
* Copyright (c) 2000 SHIMIZU Ryo <ryo@misakimix.org>
@ -211,7 +211,7 @@ out_of_mbufs:
.align 2
XLprintf:
.long _printf
.long _C_LABEL(printf)
.align 2
message_out_of_data:

View File

@ -1,4 +1,4 @@
/* $NetBSD: ashiftrt.S,v 1.1 1999/09/13 10:31:36 itojun Exp $ */
/* $NetBSD: ashiftrt.S,v 1.2 2001/02/14 17:59:39 msaitoh Exp $ */
/*-
* Copyright (C) 1999 Tsubai Masanari. All rights reserved.
@ -26,75 +26,65 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
.globl ___ashiftrt_r4_0, ___ashiftrt_r4_1, ___ashiftrt_r4_2
.globl ___ashiftrt_r4_3, ___ashiftrt_r4_4, ___ashiftrt_r4_5
.globl ___ashiftrt_r4_6, ___ashiftrt_r4_7, ___ashiftrt_r4_8
.globl ___ashiftrt_r4_9, ___ashiftrt_r4_10, ___ashiftrt_r4_11
.globl ___ashiftrt_r4_12, ___ashiftrt_r4_13, ___ashiftrt_r4_14
.globl ___ashiftrt_r4_15, ___ashiftrt_r4_16, ___ashiftrt_r4_17
.globl ___ashiftrt_r4_18, ___ashiftrt_r4_19, ___ashiftrt_r4_20
.globl ___ashiftrt_r4_21, ___ashiftrt_r4_22, ___ashiftrt_r4_23
.globl ___ashiftrt_r4_24, ___ashiftrt_r4_25, ___ashiftrt_r4_26
.globl ___ashiftrt_r4_27, ___ashiftrt_r4_28, ___ashiftrt_r4_29
.globl ___ashiftrt_r4_30, ___ashiftrt_r4_31
.text
#include <machine/asm.h>
___ashiftrt_r4_31:
ENTRY(__ashiftrt_r4_31)
shll r4
rts
subc r4, r4
___ashiftrt_r4_30:
ENTRY(__ashiftrt_r4_30)
shar r4
___ashiftrt_r4_29:
ENTRY(__ashiftrt_r4_29)
shar r4
___ashiftrt_r4_28:
ENTRY(__ashiftrt_r4_28)
shar r4
___ashiftrt_r4_27:
ENTRY(__ashiftrt_r4_27)
shar r4
___ashiftrt_r4_26:
ENTRY(__ashiftrt_r4_26)
shar r4
___ashiftrt_r4_25:
ENTRY(__ashiftrt_r4_25)
shar r4
___ashiftrt_r4_24:
ENTRY(__ashiftrt_r4_24)
shlr16 r4
shlr8 r4
rts
exts.b r4, r4
___ashiftrt_r4_23:
ENTRY(__ashiftrt_r4_23)
shar r4
___ashiftrt_r4_22:
ENTRY(__ashiftrt_r4_22)
shar r4
___ashiftrt_r4_21:
ENTRY(__ashiftrt_r4_21)
shar r4
___ashiftrt_r4_20:
ENTRY(__ashiftrt_r4_20)
shar r4
___ashiftrt_r4_19:
ENTRY(__ashiftrt_r4_19)
shar r4
___ashiftrt_r4_18:
ENTRY(__ashiftrt_r4_18)
shar r4
___ashiftrt_r4_17:
ENTRY(__ashiftrt_r4_17)
shar r4
___ashiftrt_r4_16:
ENTRY(__ashiftrt_r4_16)
shlr16 r4
rts
exts.w r4, r4
___ashiftrt_r4_15:
ENTRY(__ashiftrt_r4_15)
swap.w r4, r4
cmp/pz r4
bf/s 1f
@ -106,49 +96,49 @@ ___ashiftrt_r4_15:
rts
rotcl r4
___ashiftrt_r4_14:
ENTRY(__ashiftrt_r4_14)
shar r4
___ashiftrt_r4_13:
ENTRY(__ashiftrt_r4_13)
shar r4
___ashiftrt_r4_12:
ENTRY(__ashiftrt_r4_12)
shar r4
___ashiftrt_r4_11:
ENTRY(__ashiftrt_r4_11)
shar r4
___ashiftrt_r4_10:
ENTRY(__ashiftrt_r4_10)
shar r4
___ashiftrt_r4_9:
ENTRY(__ashiftrt_r4_9)
shar r4
___ashiftrt_r4_8:
ENTRY(__ashiftrt_r4_8)
shar r4
___ashiftrt_r4_7:
ENTRY(__ashiftrt_r4_7)
shar r4
___ashiftrt_r4_6:
ENTRY(__ashiftrt_r4_6)
shar r4
___ashiftrt_r4_5:
ENTRY(__ashiftrt_r4_5)
shar r4
___ashiftrt_r4_4:
ENTRY(__ashiftrt_r4_4)
shar r4
___ashiftrt_r4_3:
ENTRY(__ashiftrt_r4_3)
shar r4
___ashiftrt_r4_2:
ENTRY(__ashiftrt_r4_2)
shar r4
___ashiftrt_r4_1:
ENTRY(__ashiftrt_r4_1)
rts
shar r4
___ashiftrt_r4_0:
ENTRY(__ashiftrt_r4_0)
rts
nop

View File

@ -1,4 +1,4 @@
/* $NetBSD: ashlsi3.S,v 1.1 1999/09/13 10:31:37 itojun Exp $ */
/* $NetBSD: ashlsi3.S,v 1.2 2001/02/14 17:59:39 msaitoh Exp $ */
/*-
* Copyright (C) 1999 Tsubai Masanari. All rights reserved.
@ -26,10 +26,9 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
.globl ___ashlsi3
.text
#include <machine/asm.h>
___ashlsi3:
ENTRY(__ashlsi3)
shld r5, r4
rts
mov r4, r0

View File

@ -1,4 +1,4 @@
/* $NetBSD: ashrsi3.S,v 1.1 1999/09/13 10:31:37 itojun Exp $ */
/* $NetBSD: ashrsi3.S,v 1.2 2001/02/14 17:59:39 msaitoh Exp $ */
/*-
* Copyright (C) 1999 Tsubai Masanari. All rights reserved.
@ -26,10 +26,9 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
.globl ___ashrsi3
.text
#include <machine/asm.h>
___ashrsi3:
ENTRY(__ashrsi3)
tst r5, r5
bt noshift

View File

@ -1,4 +1,4 @@
/* $NetBSD: lshrsi3.S,v 1.1 1999/09/13 10:31:38 itojun Exp $ */
/* $NetBSD: lshrsi3.S,v 1.2 2001/02/14 17:59:39 msaitoh Exp $ */
/*-
* Copyright (C) 1999 Tsubai Masanari. All rights reserved.
@ -26,10 +26,9 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
.globl ___lshrsi3
.text
#include <machine/asm.h>
___lshrsi3:
ENTRY(__lshrsi3)
tst r5, r5
bt noshift

View File

@ -1,4 +1,4 @@
/* $NetBSD: movstr.S,v 1.1 1999/09/13 10:31:38 itojun Exp $ */
/* $NetBSD: movstr.S,v 1.2 2001/02/14 17:59:39 msaitoh Exp $ */
/*-
* Copyright (C) 1999 Tsubai Masanari. All rights reserved.
@ -26,11 +26,9 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
.text
.align 2
#include <machine/asm.h>
.global ___movstr
___movstr:
ENTRY(__movstr)
mov #16, r0
cmp/gt r0, r6
bf loop2

View File

@ -1,4 +1,4 @@
/* $NetBSD: mulsi3.S,v 1.1 1999/09/13 10:31:42 itojun Exp $ */
/* $NetBSD: mulsi3.S,v 1.2 2001/02/14 17:59:39 msaitoh Exp $ */
/*-
* Copyright (C) 1999 Tsubai Masanari. All rights reserved.
@ -26,10 +26,9 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
.globl ___mulsi3
.text
#include <machine/asm.h>
___mulsi3:
ENTRY(__mulsi3)
mul.l r4, r5
rts
sts macl, r0