* config/tc-mips.c (MAX_VR4130_NOPS, MAX_DELAY_NOPS): New macros.
authorRichard Sandiford <rdsandiford@googlemail.com>
Wed, 9 Mar 2005 09:39:31 +0000 (09:39 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Wed, 9 Mar 2005 09:39:31 +0000 (09:39 +0000)
commit7d8e00cf78a71a5a319f43d030597edfe01c266d
treec8703354a821a437ee67372a9d2849c22638b2ba
parentdc36a61fc5419826b501f553c824cb595dcedb5c
* 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/config/tc-mips.c
gas/testsuite/ChangeLog
gas/testsuite/gas/mips/vr4130.d [new file with mode: 0644]
gas/testsuite/gas/mips/vr4130.s [new file with mode: 0644]