Need to be __clz[sd]i2

This commit is contained in:
matt 2008-10-14 17:23:33 +00:00
parent 2002727b2c
commit 02ed53f8f6
1 changed files with 5 additions and 6 deletions

View File

@ -29,7 +29,7 @@
#include <machine/asm.h>
.text
ENTRY(_clzdi2)
ENTRY(__clzdi2)
movs r3, r0
movne r0, #31
bne .L_clz
@ -38,10 +38,9 @@ ENTRY(_clzdi2)
bne .L_clz
mov r0, #64
bx lr
END(_clzdi2)
END(__clzdi2)
ENTRY(_clzsi2)
ENTRY(__clzsi2)
movs r3, r0
moveq r0, #32
bxeq lr
@ -84,6 +83,6 @@ ENTRY(_clzsi2)
teq r3, #0
addeq r0, r0, #1
#endif
#endif
#endif /* __OPTIMIZE_SIZE__ */
bx lr
END(_clzsi2)
END(__clzsi2)