diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2013-06-26 07:04:57 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2013-06-26 07:04:57 +0000 |
commit | 18870af79b2034040e6009fc2719759ca6ec75e9 (patch) | |
tree | 699072517caa1e93c5016c970c6459a0c5dbe736 /gas | |
parent | ddacd3c8e9401081d2961a397d9db58568d10344 (diff) | |
download | gdb-18870af79b2034040e6009fc2719759ca6ec75e9.zip gdb-18870af79b2034040e6009fc2719759ca6ec75e9.tar.gz gdb-18870af79b2034040e6009fc2719759ca6ec75e9.tar.bz2 |
include/opcode/
* mips.h: Fix comment for "1": it is now STYPE rather than SHAMT.
Use "source" rather than "destination" for microMIPS "G".
gas/
* config/tc-mips.c (validate_mips_insn): Use STYPE rather than SHAMT.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/tc-mips.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 6e24413..ac69efe 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2013-06-26 Richard Sandiford <rdsandiford@googlemail.com> + + * config/tc-mips.c (validate_mips_insn): Use STYPE rather than SHAMT. + 2013-06-25 Maciej W. Rozycki <macro@codesourcery.com> * config/tc-mips.c (mips_set_options): Add insn32 member. diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 595ab74..d2b1f63 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -10975,7 +10975,7 @@ validate_mips_insn (const struct mips_opcode *opc) case '%': USE_BITS (OP_MASK_VECALIGN, OP_SH_VECALIGN); break; case '[': break; case ']': break; - case '1': USE_BITS (OP_MASK_SHAMT, OP_SH_SHAMT); break; + case '1': USE_BITS (OP_MASK_STYPE, OP_SH_STYPE); break; case '2': USE_BITS (OP_MASK_BP, OP_SH_BP); break; case '3': USE_BITS (OP_MASK_SA3, OP_SH_SA3); break; case '4': USE_BITS (OP_MASK_SA4, OP_SH_SA4); break; |