diff options
author | Richard Sandiford <rsandifo@nildram.co.uk> | 2005-03-09 09:53:50 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@nildram.co.uk> | 2005-03-09 09:53:50 +0000 |
commit | b48ef4b2c66fa261fd74963e3ee2781834d84198 (patch) | |
tree | b8ed1a00b18160128c92e359ccd537964674af31 /gas/doc/c-mips.texi | |
parent | db6b75880ca2257a2dbb38bca8c957e0e17a867f (diff) | |
download | binutils-redhat-b48ef4b2c66fa261fd74963e3ee2781834d84198.tar.gz |
* 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.
Diffstat (limited to 'gas/doc/c-mips.texi')
-rw-r--r-- | gas/doc/c-mips.texi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/doc/c-mips.texi b/gas/doc/c-mips.texi index b62b7eb2fc..97469fe244 100644 --- a/gas/doc/c-mips.texi +++ b/gas/doc/c-mips.texi @@ -129,6 +129,10 @@ Insert nops to work around certain VR4120 errata. This option is intended to be used on GCC-generated code: it is not designed to catch all problems in hand-written assembler code. +@item -mfix-vr4130 +@itemx -no-mfix-vr4130 +Insert nops to work around the VR4130 @samp{mflo}/@samp{mfhi} errata. + @item -m4010 @itemx -no-m4010 Generate code for the LSI @sc{r4010} chip. This tells the assembler to |