* config/xtensa/lib1funcs.asm: Clean up whitespace.
From-SVN: r125534
This commit is contained in:
parent
66e4ab3127
commit
125253d945
2 changed files with 30 additions and 26 deletions
|
@ -1,3 +1,7 @@
|
|||
2007-06-07 Bob Wilson <bob.wilson@acm.org>
|
||||
|
||||
* config/xtensa/lib1funcs.asm: Clean up whitespace.
|
||||
|
||||
2007-06-07 Steve Ellcey <sje@cup.hp.com>
|
||||
|
||||
PR target/31850
|
||||
|
|
|
@ -96,7 +96,7 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
|
|||
#ifdef L_mulsi3
|
||||
.align 4
|
||||
.global __mulsi3
|
||||
.type __mulsi3,@function
|
||||
.type __mulsi3, @function
|
||||
__mulsi3:
|
||||
leaf_entry sp, 16
|
||||
|
||||
|
@ -195,7 +195,7 @@ __mulsi3:
|
|||
#endif /* !MUL32 && !MUL16 && !MAC16 */
|
||||
|
||||
leaf_return
|
||||
.size __mulsi3,.-__mulsi3
|
||||
.size __mulsi3, . - __mulsi3
|
||||
|
||||
#endif /* L_mulsi3 */
|
||||
|
||||
|
@ -203,7 +203,7 @@ __mulsi3:
|
|||
#ifdef L_umulsidi3
|
||||
.align 4
|
||||
.global __umulsidi3
|
||||
.type __umulsidi3,@function
|
||||
.type __umulsidi3, @function
|
||||
__umulsidi3:
|
||||
leaf_entry sp, 32
|
||||
#if __XTENSA_CALL0_ABI__
|
||||
|
@ -284,7 +284,7 @@ __umulsidi3:
|
|||
rsr dst, ACCLO
|
||||
|
||||
#else /* no multiply hardware */
|
||||
|
||||
|
||||
#define set_arg_l(dst, src) \
|
||||
extui dst, src, 0, 16
|
||||
#define set_arg_h(dst, src) \
|
||||
|
@ -338,7 +338,7 @@ __umulsidi3:
|
|||
leaf_return
|
||||
|
||||
#if !XCHAL_HAVE_MUL16 && !XCHAL_HAVE_MUL32 && !XCHAL_HAVE_MAC16
|
||||
|
||||
|
||||
/* For Xtensa processors with no multiply hardware, this simplified
|
||||
version of _mulsi3 is used for multiplying 16-bit chunks of
|
||||
the floating-point mantissas. It uses a custom ABI: the inputs
|
||||
|
@ -370,7 +370,7 @@ __umulsidi3:
|
|||
ret
|
||||
#endif /* !MUL16 && !MUL32 && !MAC16 */
|
||||
|
||||
.size __umulsidi3,.-__umulsidi3
|
||||
.size __umulsidi3, . - __umulsidi3
|
||||
|
||||
#endif /* L_umulsidi3 */
|
||||
|
||||
|
@ -390,12 +390,12 @@ __umulsidi3:
|
|||
bnez \tmp, 0f
|
||||
movi \cnt, 16
|
||||
slli \a, \a, 16
|
||||
0:
|
||||
0:
|
||||
extui \tmp, \a, 24, 8
|
||||
bnez \tmp, 1f
|
||||
addi \cnt, \cnt, 8
|
||||
slli \a, \a, 8
|
||||
1:
|
||||
1:
|
||||
movi \tmp, __nsau_data
|
||||
extui \a, \a, 24, 8
|
||||
add \tmp, \tmp, \a
|
||||
|
@ -408,8 +408,8 @@ __umulsidi3:
|
|||
.section .rodata
|
||||
.align 4
|
||||
.global __nsau_data
|
||||
.type __nsau_data,@object
|
||||
__nsau_data:
|
||||
.type __nsau_data, @object
|
||||
__nsau_data:
|
||||
#if !XCHAL_HAVE_NSA
|
||||
.byte 8, 7, 6, 6, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 4, 4
|
||||
.byte 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3
|
||||
|
@ -428,7 +428,7 @@ __nsau_data:
|
|||
.byte 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
.byte 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
#endif /* !XCHAL_HAVE_NSA */
|
||||
.size __nsau_data,.-__nsau_data
|
||||
.size __nsau_data, . - __nsau_data
|
||||
.hidden __nsau_data
|
||||
#endif /* L_clz */
|
||||
|
||||
|
@ -436,12 +436,12 @@ __nsau_data:
|
|||
#ifdef L_clzsi2
|
||||
.align 4
|
||||
.global __clzsi2
|
||||
.type __clzsi2,@function
|
||||
.type __clzsi2, @function
|
||||
__clzsi2:
|
||||
leaf_entry sp, 16
|
||||
do_nsau a2, a2, a3, a4
|
||||
leaf_return
|
||||
.size __clzsi2,.-__clzsi2
|
||||
.size __clzsi2, . - __clzsi2
|
||||
|
||||
#endif /* L_clzsi2 */
|
||||
|
||||
|
@ -449,7 +449,7 @@ __clzsi2:
|
|||
#ifdef L_ctzsi2
|
||||
.align 4
|
||||
.global __ctzsi2
|
||||
.type __ctzsi2,@function
|
||||
.type __ctzsi2, @function
|
||||
__ctzsi2:
|
||||
leaf_entry sp, 16
|
||||
neg a3, a2
|
||||
|
@ -458,7 +458,7 @@ __ctzsi2:
|
|||
neg a2, a2
|
||||
addi a2, a2, 31
|
||||
leaf_return
|
||||
.size __ctzsi2,.-__ctzsi2
|
||||
.size __ctzsi2, . - __ctzsi2
|
||||
|
||||
#endif /* L_ctzsi2 */
|
||||
|
||||
|
@ -466,7 +466,7 @@ __ctzsi2:
|
|||
#ifdef L_ffssi2
|
||||
.align 4
|
||||
.global __ffssi2
|
||||
.type __ffssi2,@function
|
||||
.type __ffssi2, @function
|
||||
__ffssi2:
|
||||
leaf_entry sp, 16
|
||||
neg a3, a2
|
||||
|
@ -475,7 +475,7 @@ __ffssi2:
|
|||
neg a2, a2
|
||||
addi a2, a2, 32
|
||||
leaf_return
|
||||
.size __ffssi2,.-__ffssi2
|
||||
.size __ffssi2, . - __ffssi2
|
||||
|
||||
#endif /* L_ffssi2 */
|
||||
|
||||
|
@ -483,7 +483,7 @@ __ffssi2:
|
|||
#ifdef L_udivsi3
|
||||
.align 4
|
||||
.global __udivsi3
|
||||
.type __udivsi3,@function
|
||||
.type __udivsi3, @function
|
||||
__udivsi3:
|
||||
leaf_entry sp, 16
|
||||
bltui a3, 2, .Lle_one /* check if the divisor <= 1 */
|
||||
|
@ -540,7 +540,7 @@ __udivsi3:
|
|||
.Lreturn0:
|
||||
movi a2, 0
|
||||
leaf_return
|
||||
.size __udivsi3,.-__udivsi3
|
||||
.size __udivsi3, . - __udivsi3
|
||||
|
||||
#endif /* L_udivsi3 */
|
||||
|
||||
|
@ -548,7 +548,7 @@ __udivsi3:
|
|||
#ifdef L_divsi3
|
||||
.align 4
|
||||
.global __divsi3
|
||||
.type __divsi3,@function
|
||||
.type __divsi3, @function
|
||||
__divsi3:
|
||||
leaf_entry sp, 16
|
||||
xor a7, a2, a3 /* sign = dividend ^ divisor */
|
||||
|
@ -611,7 +611,7 @@ __divsi3:
|
|||
.Lreturn0:
|
||||
movi a2, 0
|
||||
leaf_return
|
||||
.size __divsi3,.-__divsi3
|
||||
.size __divsi3, . - __divsi3
|
||||
|
||||
#endif /* L_divsi3 */
|
||||
|
||||
|
@ -619,7 +619,7 @@ __divsi3:
|
|||
#ifdef L_umodsi3
|
||||
.align 4
|
||||
.global __umodsi3
|
||||
.type __umodsi3,@function
|
||||
.type __umodsi3, @function
|
||||
__umodsi3:
|
||||
leaf_entry sp, 16
|
||||
bltui a3, 2, .Lle_one /* check if the divisor is <= 1 */
|
||||
|
@ -665,7 +665,7 @@ __umodsi3:
|
|||
.Lreturn0:
|
||||
movi a2, 0
|
||||
leaf_return
|
||||
.size __umodsi3,.-__umodsi3
|
||||
.size __umodsi3, . - __umodsi3
|
||||
|
||||
#endif /* L_umodsi3 */
|
||||
|
||||
|
@ -673,7 +673,7 @@ __umodsi3:
|
|||
#ifdef L_modsi3
|
||||
.align 4
|
||||
.global __modsi3
|
||||
.type __modsi3,@function
|
||||
.type __modsi3, @function
|
||||
__modsi3:
|
||||
leaf_entry sp, 16
|
||||
mov a7, a2 /* save original (signed) dividend */
|
||||
|
@ -709,7 +709,7 @@ __modsi3:
|
|||
.Lreturn:
|
||||
bgez a7, .Lpositive
|
||||
neg a2, a2 /* if (dividend < 0), return -udividend */
|
||||
.Lpositive:
|
||||
.Lpositive:
|
||||
leaf_return
|
||||
|
||||
.Lle_one:
|
||||
|
@ -724,7 +724,7 @@ __modsi3:
|
|||
.Lreturn0:
|
||||
movi a2, 0
|
||||
leaf_return
|
||||
.size __modsi3,.-__modsi3
|
||||
.size __modsi3, . - __modsi3
|
||||
|
||||
#endif /* L_modsi3 */
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue