mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-11 03:50:27 +08:00
* config/arm/arm.c (arm_init_libfuncs): Clear mod optabs.
From-SVN: r98417
This commit is contained in:
parent
8766be8685
commit
01c19d4774
@ -1,3 +1,7 @@
|
||||
2005-04-19 Paul Brook <paul@codesourcery.com>
|
||||
|
||||
* config/arm/arm.c (arm_init_libfuncs): Clear mod optabs.
|
||||
|
||||
2005-04-19 Andrew Haley <aph@redhat.com>
|
||||
|
||||
PR java/21022
|
||||
|
@ -755,6 +755,13 @@ arm_init_libfuncs (void)
|
||||
set_optab_libfunc (udiv_optab, DImode, "__aeabi_uldivmod");
|
||||
set_optab_libfunc (sdiv_optab, SImode, "__aeabi_idivmod");
|
||||
set_optab_libfunc (udiv_optab, SImode, "__aeabi_uidivmod");
|
||||
|
||||
/* We don't have mod libcalls. Fortunately gcc knows how to use the
|
||||
divmod libcalls instead. */
|
||||
set_optab_libfunc (smod_optab, DImode, NULL);
|
||||
set_optab_libfunc (umod_optab, DImode, NULL);
|
||||
set_optab_libfunc (smod_optab, SImode, NULL);
|
||||
set_optab_libfunc (umod_optab, SImode, NULL);
|
||||
}
|
||||
|
||||
/* Fix up any incompatible options that the user has specified.
|
||||
|
Loading…
x
Reference in New Issue
Block a user