MIPS/gas: SAA/SAAD macro clean-ups

This change removes code duplication for the SAA macro in line with other
such macros and also adds a !microMIPS internal consistency guard as
there's no microMIPS encoding of the underlying SAA/SAAD instructions.

	* config/tc-mips.c (macro) <M_SAA_AB>: Remove duplicate code and
	jump to...
	<M_SAAD_AB>: ... here.  Assert that !microMIPS.
This commit is contained in:
Maciej W. Rozycki 2014-08-26 13:18:30 +01:00
parent 114dba3bba
commit 0db377d09c
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2014-08-26 Maciej W. Rozycki <macro@codesourcery.com>
* config/tc-mips.c (macro) <M_SAA_AB>: Remove duplicate code and
jump to...
<M_SAAD_AB>: ... here. Assert that !microMIPS.
2014-08-26 Jan-Benedict Glaw <jbglaw@lug-owl.de>
* config/tc-moxie.h (md_convert_frag): Silence warning.

View File

@ -12206,11 +12206,11 @@ macro (struct mips_cl_insn *ip, char *str)
case M_SAA_AB:
s = "saa";
offbits = 0;
fmt = "t,(b)";
goto ld_st;
goto saa_saad;
case M_SAAD_AB:
s = "saad";
saa_saad:
gas_assert (!mips_opts.micromips);
offbits = 0;
fmt = "t,(b)";
goto ld_st;