This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[patch] GAS Document for MIPS DSP ASE
- From: "Chao-ying Fu" <fu at mips dot com>
- To: <echristo at apple dot com>, "Thiemo Seufer" <ths at networkno dot de>
- Cc: <binutils at sourceware dot org>
- Date: Wed, 7 Sep 2005 16:51:12 -0700
- Subject: [patch] GAS Document for MIPS DSP ASE
- Reply-to: "Chao-ying Fu" <fu at mips dot com>
Hello,
Here is the patch to document GAS options for MIPS DSP ASE.
Ok to check in? Thanks!
Regards,
Chao-ying
gas/ChangeLog
2005-09-07 Chao-ying Fu <fu@mips.com>
* doc/as.texinfo: Document -mdsp and -mno-dsp options.
* doc/c-mips.texi: Likewise, and document ".set dsp" and ".set nodsp"
directives.
Index: as.texinfo
===================================================================
RCS file: /cvs/src/src/gas/doc/as.texinfo,v
retrieving revision 1.126
diff -c -3 -p -r1.126 as.texinfo
*** as.texinfo 7 Sep 2005 11:41:24 -0000 1.126
--- as.texinfo 7 Sep 2005 23:40:31 -0000
*************** gcc(1), ld(1), and the Info entries for
*** 368,373 ****
--- 368,374 ----
[@b{-mips16}] [@b{-no-mips16}]
[@b{-mips3d}] [@b{-no-mips3d}]
[@b{-mdmx}] [@b{-no-mdmx}]
+ [@b{-mdsp}] [@b{-mno-dsp}]
[@b{-mmt}] [@b{-mno-mt}]
[@b{-mdebug}] [@b{-no-mdebug}]
[@b{-mpdr}] [@b{-mno-pdr}]
*************** Generate code for the MDMX Application S
*** 1001,1006 ****
--- 1002,1013 ----
This tells the assembler to accept MDMX instructions.
@samp{-no-mdmx} turns off this option.
+ @item -mdsp
+ @itemx -mno-dsp
+ Generate code for the DSP Application Specific Extension.
+ This tells the assembler to accept DSP instructions.
+ @samp{-mno-dsp} turns off this option.
+
@item -mmt
@itemx -mno-mt
Generate code for the MT Application Specific Extension.
Index: c-mips.texi
===================================================================
RCS file: /cvs/src/src/gas/doc/c-mips.texi,v
retrieving revision 1.35
diff -c -3 -p -r1.35 c-mips.texi
*** c-mips.texi 6 Sep 2005 18:53:03 -0000 1.35
--- c-mips.texi 7 Sep 2005 23:40:31 -0000
*************** Generate code for the MDMX Application S
*** 118,123 ****
--- 118,129 ----
This tells the assembler to accept MDMX instructions.
@samp{-no-mdmx} turns off this option.
+ @item -mdsp
+ @itemx -mno-dsp
+ Generate code for the DSP Application Specific Extension.
+ This tells the assembler to accept DSP instructions.
+ @samp{-mno-dsp} turns off this option.
+
@item -mmt
@itemx -mno-mt
Generate code for the MT Application Specific Extension.
*************** from the MDMX Application Specific Exten
*** 457,462 ****
--- 463,476 ----
in the assembly. The @code{.set nomdmx} directive prevents MDMX
instructions from being accepted.
+ @cindex MIPS DSP instruction generation override
+ @kindex @code{.set dsp}
+ @kindex @code{.set nodsp}
+ The directive @code{.set dsp} makes the assembler accept instructions
+ from the DSP Application Specific Extension from that point on
+ in the assembly. The @code{.set nodsp} directive prevents DSP
+ instructions from being accepted.
+
@cindex MIPS MT instruction generation override
@kindex @code{.set mt}
@kindex @code{.set nomt}