Replace uses of the ALEAF macro with XLEAF and remove ALEAF macro to

try to unify the conventions used in our assembler.

Reviewed by:	jmallet@
This commit is contained in:
imp 2013-10-15 04:43:31 +00:00
parent 9a9fbbc1d0
commit 0dd44faac7
4 changed files with 8 additions and 9 deletions

View File

@ -264,7 +264,6 @@ _C_LABEL(x):
/*
* XXX retain dialects XXX
*/
#define ALEAF(x) XLEAF(x)
#define NLEAF(x) LEAF_NOPROFILE(x)
#define NON_LEAF(x, fsize, retpc) NESTED(x, fsize, retpc)
#define NNON_LEAF(x, fsize, retpc) NESTED_NOPROFILE(x, fsize, retpc)

View File

@ -72,8 +72,8 @@ LEAF(memcpy)
move a0, a1
move a1, v0
ALEAF(bcopy)
ALEAF(ovbcopy)
XLEAF(bcopy)
XLEAF(ovbcopy)
/*
* Make sure we can copy forwards.
*/

View File

@ -2460,7 +2460,7 @@ get_ft_s_done:
*
*----------------------------------------------------------------------------
*/
ALEAF(get_fs_s)
XLEAF(get_fs_s)
srl a3, a0, 12 - 2 # get FS field (even regs only)
and a3, a3, 0xF << 2 # mask FS field
lw a3, get_fs_s_tbl(a3) # switch on register number
@ -2679,7 +2679,7 @@ get_ft_d_done:
*
*----------------------------------------------------------------------------
*/
ALEAF(get_fs_d)
XLEAF(get_fs_d)
srl a3, a0, 12 - 2 # get FS field (even regs only)
and a3, a3, 0xF << 2 # mask FS field
lw a3, get_fs_d_tbl(a3) # switch on register number
@ -3194,7 +3194,7 @@ LEAF(set_fd_s)
sll t1, t1, 23 # position exponent
or t2, t2, t0
or t2, t2, t1
ALEAF(set_fd_word)
XLEAF(set_fd_word)
srl a3, a0, 7 - 2 # get FD field (even regs only)
and a3, a3, 0xF << 2 # mask FT field
lw a3, set_fd_s_tbl(a3) # switch on register number

View File

@ -288,7 +288,7 @@ END(copyerr)
*/
#ifdef __mips_n64
LEAF(fuword64)
ALEAF(fuword)
XLEAF(fuword)
PTR_LA v0, fswberr
blt a0, zero, fswberr # make sure address is in user space
nop
@ -303,7 +303,7 @@ END(fuword64)
LEAF(fuword32)
#ifndef __mips_n64
ALEAF(fuword)
XLEAF(fuword)
#endif
PTR_LA v0, fswberr
blt a0, zero, fswberr # make sure address is in user space
@ -553,7 +553,7 @@ END(memset)
* bzero(s1, n)
*/
LEAF(bzero)
ALEAF(blkclr)
XLEAF(blkclr)
.set noreorder
blt a1, 12, smallclr # small amount to clear?
PTR_SUBU a3, zero, a0 # compute # bytes to word align address