* 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 |
---|---|---|
INSTALL | Loading commit data... | |
boehm-gc | Loading commit data... | |
config | Loading commit data... | |
contrib | Loading commit data... | |
fastjar | Loading commit data... | |
gcc | Loading commit data... | |
include | Loading commit data... | |
intl | Loading commit data... | |
libada | Loading commit data... | |
libf2c | Loading commit data... | |
libffi | Loading commit data... | |
libiberty | Loading commit data... | |
libjava | Loading commit data... | |
libobjc | Loading commit data... | |
libstdc++-v3 | Loading commit data... | |
maintainer-scripts | Loading commit data... | |
zlib | Loading commit data... | |
.cvsignore | Loading commit data... | |
ABOUT-NLS | Loading commit data... | |
COPYING | Loading commit data... | |
COPYING.LIB | Loading commit data... | |
ChangeLog | Loading commit data... | |
MAINTAINERS | Loading commit data... | |
Makefile.def | Loading commit data... | |
Makefile.in | Loading commit data... | |
Makefile.tpl | Loading commit data... | |
README | Loading commit data... | |
README.SCO | Loading commit data... | |
compile | Loading commit data... | |
config-ml.in | Loading commit data... | |
config.guess | Loading commit data... | |
config.if | Loading commit data... | |
config.rpath | Loading commit data... | |
config.sub | Loading commit data... | |
configure | Loading commit data... | |
configure.in | Loading commit data... | |
install-sh | Loading commit data... | |
libtool.m4 | Loading commit data... | |
ltcf-c.sh | Loading commit data... | |
ltcf-cxx.sh | Loading commit data... | |
ltcf-gcj.sh | Loading commit data... | |
ltconfig | Loading commit data... | |
ltmain.sh | Loading commit data... | |
missing | Loading commit data... | |
mkdep | Loading commit data... | |
mkinstalldirs | Loading commit data... | |
move-if-change | Loading commit data... | |
symlink-tree | Loading commit data... | |
ylwrap | Loading commit data... |