arm.c (arm_init_libfuncs): Use __aeabi_idiv and __aeabi_uidiv.
* config/arm/arm.c (arm_init_libfuncs): Use __aeabi_idiv and __aeabi_uidiv. From-SVN: r106492
This commit is contained in:
parent
74900b5a75
commit
e993ba8f57
@ -1,3 +1,8 @@
|
||||
2005-11-04 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* config/arm/arm.c (arm_init_libfuncs): Use __aeabi_idiv and
|
||||
__aeabi_uidiv.
|
||||
|
||||
2005-11-04 Mark Mitchell <mark@codesourcery.com>
|
||||
Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
|
@ -817,8 +817,11 @@ arm_init_libfuncs (void)
|
||||
routines. */
|
||||
set_optab_libfunc (sdiv_optab, DImode, "__aeabi_ldivmod");
|
||||
set_optab_libfunc (udiv_optab, DImode, "__aeabi_uldivmod");
|
||||
set_optab_libfunc (sdiv_optab, SImode, "__aeabi_idivmod");
|
||||
set_optab_libfunc (udiv_optab, SImode, "__aeabi_uidivmod");
|
||||
|
||||
/* For SImode division the ABI provides div-without-mod routines,
|
||||
which are faster. */
|
||||
set_optab_libfunc (sdiv_optab, SImode, "__aeabi_idiv");
|
||||
set_optab_libfunc (udiv_optab, SImode, "__aeabi_uidiv");
|
||||
|
||||
/* We don't have mod libcalls. Fortunately gcc knows how to use the
|
||||
divmod libcalls instead. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user