From e16bfa71a1a269f19c9a9072ebaa79b4c1718795 Mon Sep 17 00:00:00 2001 From: Thiemo Seufer Date: Mon, 8 May 2006 15:57:05 +0000 Subject: [ 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. --- gas/doc/c-mips.texi | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'gas/doc/c-mips.texi') 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 -- cgit v1.1