diff options
author | Thiemo Seufer <ths@networkno.de> | 2006-05-08 15:57:05 +0000 |
---|---|---|
committer | Thiemo Seufer <ths@networkno.de> | 2006-05-08 15:57:05 +0000 |
commit | e16bfa71a1a269f19c9a9072ebaa79b4c1718795 (patch) | |
tree | be2ffef7ab1d413d8685bf1137994dc87a3538a7 /gas/doc/c-mips.texi | |
parent | 336e5de1c92a79a4f803c1f2d627b47a04b4c04f (diff) | |
download | gdb-e16bfa71a1a269f19c9a9072ebaa79b4c1718795.zip gdb-e16bfa71a1a269f19c9a9072ebaa79b4c1718795.tar.gz gdb-e16bfa71a1a269f19c9a9072ebaa79b4c1718795.tar.bz2 |
[ gas/ChangeLog ]
* config/tc-mips.c (mips_set_options): Add ase_smartmips flag.
(mips_opts): Likewise.
(file_ase_smartmips): New variable.
(ISA_HAS_ROR): SmartMIPS implements rotate instructions.
(macro_build): Handle SmartMIPS instructions.
(mips_ip): Likewise.
(md_longopts): Add argument handling for smartmips.
(md_parse_options, mips_after_parse_args): Likewise.
(s_mipsset): Add .set smartmips support.
(md_show_usage): Document -msmartmips/-mno-smartmips.
* doc/as.texinfo: Document -msmartmips/-mno-smartmips and
.set smartmips.
* doc/c-mips.texi: Likewise.
[ gas/testsuite/ChangeLog ]
* gas/mips/smartmips.s, gas/mips/smartmips.d: New smartmips test.
* gas/mips/mips.exp: Run smartmips test.
Diffstat (limited to 'gas/doc/c-mips.texi')
-rw-r--r-- | gas/doc/c-mips.texi | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gas/doc/c-mips.texi b/gas/doc/c-mips.texi index 3c70ff2..7ba7496 100644 --- a/gas/doc/c-mips.texi +++ b/gas/doc/c-mips.texi @@ -106,6 +106,14 @@ Generate code for the MIPS 16 processor. This is equivalent to putting @samp{.set mips16} at the start of the assembly file. @samp{-no-mips16} turns off this option. +@item -msmartmips +@itemx -mno-smartmips +Enables the SmartMIPS extensions to the MIPS32 instruction set, which +provides a number of new instructions which target smartcard and +cryptographic applications. This is equivalent to putting +@samp{.set smartmips} at the start of the assembly file. +@samp{-mno-smartmips} turns off this option. + @item -mips3d @itemx -no-mips3d Generate code for the MIPS-3D Application Specific Extension. @@ -399,6 +407,10 @@ The directive @samp{.set mips16} puts the assembler into MIPS 16 mode, in which it will assemble instructions for the MIPS 16 processor. Use @samp{.set nomips16} to return to normal 32 bit mode. +The @samp{.set smartmips} directive enables use of the SmartMIPS +extensions to the MIPS32 @sc{isa}; the @samp{.set nosmartmips} directive +reverses that. + Traditional @sc{mips} assemblers do not support this directive. @node MIPS autoextend |