diff options
author | Catherine Moore <clm@codesourcery.com> | 2013-11-19 04:44:59 -0800 |
---|---|---|
committer | Catherine Moore <clm@codesourcery.com> | 2013-11-19 05:07:54 -0800 |
commit | a8d14a88922c353d99250521a4fd2129a49b7810 (patch) | |
tree | 80ed0c332fa892d7ad7276620fd68ec3dfdc6a2b /gas/doc | |
parent | cf3f45fad7811e89d6b586a1a429a314e3db9f53 (diff) | |
download | gdb-a8d14a88922c353d99250521a4fd2129a49b7810.zip gdb-a8d14a88922c353d99250521a4fd2129a49b7810.tar.gz gdb-a8d14a88922c353d99250521a4fd2129a49b7810.tar.bz2 |
2013-11-19 Catherine Moore <clm@codesourcery.com>
gas/
* config/tc-mips.c (mips_fix_pmc_rm7000): Declare.
(options): Add OPTION_FIX_PMC_RM7000 and OPTION_NO_FIX_PMC_RM7000.
(md_longopts): Add mfix-pmc-rm7000 and mno-fix-pmc-rm7000.
(INSN_DMULT): Define.
(INSN_DMULTU): Define.
(insns_between): Detect PMC RM7000 errata.
(md_parse_option): Supprt OPTION_FIX_PMC_RM7000 and
OPTION_NO_FIX_PMC_RM7000.
* doc/as.texinfo: Document new options.
* doc/c-mips.texi: Likewise.
gas/testsuite/
* gas/mips/fix-pmc-rm7000-1.d: New.
* gas/mips/fix-pmc-rm7000-1.s: New.
* gas/mips/fix-pmc-rm7000-2.d: New.
* gas/mips/fix-pmc-rm7000-2.s: New.
* gas/mips/micromips@fix-pmc-rm7000-1.d: New.
* gas/mips/micromips@fix-pmc-rm7000-2.d: New.
* gas/mips/mips.exp: Run new tests.
Diffstat (limited to 'gas/doc')
-rw-r--r-- | gas/doc/as.texinfo | 6 | ||||
-rw-r--r-- | gas/doc/c-mips.texi | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo index 9843574..5fe06e6 100644 --- a/gas/doc/as.texinfo +++ b/gas/doc/as.texinfo @@ -417,6 +417,7 @@ gcc(1), ld(1), and the Info entries for @file{binutils} and @file{ld}. [@b{-mmcu}] [@b{-mno-mcu}] [@b{-minsn32}] [@b{-mno-insn32}] [@b{-mfix7000}] [@b{-mno-fix7000}] + [@b{-mfix-rm7000}] [@b{-mno-fix-rm7000}] [@b{-mfix-vr4120}] [@b{-mno-fix-vr4120}] [@b{-mfix-vr4130}] [@b{-mno-fix-vr4130}] [@b{-mdebug}] [@b{-no-mdebug}] @@ -1270,6 +1271,11 @@ Schedule and tune for a particular MIPS CPU. Cause nops to be inserted if the read of the destination register of an mfhi or mflo instruction occurs in the following two instructions. +@item -mfix-rm7000 +@itemx -mno-fix-rm7000 +Cause nops to be inserted if a dmult or dmultu instruction is +followed by a load instruction. + @item -mdebug @itemx -no-mdebug Cause stabs-style debugging output to go into an ECOFF-style .mdebug diff --git a/gas/doc/c-mips.texi b/gas/doc/c-mips.texi index 7927893..dfada1e 100644 --- a/gas/doc/c-mips.texi +++ b/gas/doc/c-mips.texi @@ -206,6 +206,11 @@ selected, allowing all instructions to be used. Cause nops to be inserted if the read of the destination register of an mfhi or mflo instruction occurs in the following two instructions. +@item -mfix-rm7000 +@itemx -mno-fix-rm7000 +Cause nops to be inserted if a dmult or dmultu instruction is +followed by a load instruction. + @item -mfix-loongson2f-jump @itemx -mno-fix-loongson2f-jump Eliminate instruction fetch from outside 256M region to work around the |