mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-06 08:04:04 +08:00
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:
parent
114dba3bba
commit
0db377d09c
@ -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.
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user