diff options
author | DJ Delorie <dj@redhat.com> | 2004-03-24 08:05:40 -0500 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2004-03-24 13:05:40 +0000 |
commit | c235ddf27585e26c1e86bfec25e72bfef0debba0 (patch) | |
tree | d684b4f746c0f54995bb8c16528a406782106323 /gcc/config.gcc | |
parent | cf768d70b2beb8d16e558094ed518405b3046661 (diff) | |
download | gcc-c235ddf27585e26c1e86bfec25e72bfef0debba0.zip gcc-c235ddf27585e26c1e86bfec25e72bfef0debba0.tar.gz gcc-c235ddf27585e26c1e86bfec25e72bfef0debba0.tar.bz2 |
mips.h (MASK_FIX_VR4122, [...]): New macros.
* config/mips/mips.h (MASK_FIX_VR4122, TARGET_FIX_VR4122): New macros.
(TARGET_SWITCHES): Add -mfix-vr4122-bugs and -mno-fix-vr4122-bugs.
(ASM_SPEC): Pass down -mfix-vr4122-bugs.
* config/mips/mips.c (mips_avoid_hazards): Don't emit whole functions
in .set noreorder and .set nomacro if TARGET_FIX_VR4122.
(mips_init_libfuncs): Use special functions for divsi3 and modsi3
if TARGET_FIX_VR4122.
* config/mips/mips.md (define_attr length): Account for nops inserted
after macc and dmult when using -mfix-vr4122-bugs.
(umuldi3_highpart, divmodsi4, divmoddi4): Disable if TARGET_FIX_VR4122.
* config/mips/t-vr (LIB2FUNCS_STATIC_EXTRA): Define instead of
LIB2FUNCS_EXTRA. Add config/mips/vr4122-div.S.
* config/mips/vr4122-div.S: New file.
* doc/invoke.texi: Document -mfix-vr4122-bugs.
Co-Authored-By: Richard Sandiford <rsandifo@redhat.com>
From-SVN: r79912
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions