* config/tc-mips.c (MAX_VR4130_NOPS, MAX_DELAY_NOPS): New macros.
authorRichard Sandiford <rdsandiford@googlemail.com>
Wed, 9 Mar 2005 09:53:20 +0000 (09:53 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Wed, 9 Mar 2005 09:53:20 +0000 (09:53 +0000)
commit0459bb22d27135c021e55469dec57617062ca5cb
tree4fb12de7cffe6bbc998fd95a27aae75e813e4110
parent9a3c6883fdd6858cdc22b8e3f480381f18da6458
* config/tc-mips.c (MAX_VR4130_NOPS, MAX_DELAY_NOPS): New macros.
(MAX_NOPS): Bump to 4.
(mips_fix_vr4130): New variable.
(nops_for_vr4130): New function.
(nops_for_insn): Use MAX_DELAY_NOPS rather than MAX_NOPS.  Use
nops_for_vr4130 if working around VR4130 errata.
(OPTION_FIX_VR4130, OPTION_NO_FIX_VR4130): New macros.
(md_longopts): Add -mfix-vr4130 and -mno-fix-vr4130.
(md_parse_option): Handle them.
(md_show_usage): Print them.
* doc/c-mips.texi: Document -mfix-vr4130 and -mno-fix-vr4130.
gas/ChangeLog
gas/doc/c-mips.texi
gas/testsuite/ChangeLog
gas/testsuite/gas/mips/mips.exp