* 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
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
include | Loading commit data... | |
bugreport.texi | Loading commit data... | |
c-tree.texi | Loading commit data... | |
collect2.texi | Loading commit data... | |
compat.texi | Loading commit data... | |
configfiles.texi | Loading commit data... | |
configterms.texi | Loading commit data... | |
contrib.texi | Loading commit data... | |
contribute.texi | Loading commit data... | |
cpp.texi | Loading commit data... | |
cppenv.texi | Loading commit data... | |
cppinternals.texi | Loading commit data... | |
cppopts.texi | Loading commit data... | |
extend.texi | Loading commit data... | |
fragments.texi | Loading commit data... | |
frontends.texi | Loading commit data... | |
gcc.texi | Loading commit data... | |
gccint.texi | Loading commit data... | |
gcov.texi | Loading commit data... | |
gnu.texi | Loading commit data... | |
gty.texi | Loading commit data... | |
headerdirs.texi | Loading commit data... | |
hostconfig.texi | Loading commit data... | |
install-old.texi | Loading commit data... | |
install.texi | Loading commit data... | |
install.texi2html | Loading commit data... | |
interface.texi | Loading commit data... | |
invoke.texi | Loading commit data... | |
languages.texi | Loading commit data... | |
libgcc.texi | Loading commit data... | |
makefile.texi | Loading commit data... | |
md.texi | Loading commit data... | |
objc.texi | Loading commit data... | |
passes.texi | Loading commit data... | |
portability.texi | Loading commit data... | |
rtl.texi | Loading commit data... | |
service.texi | Loading commit data... | |
sourcebuild.texi | Loading commit data... | |
standards.texi | Loading commit data... | |
tm.texi | Loading commit data... | |
trouble.texi | Loading commit data... |