summaryrefslogtreecommitdiff
path: root/opcodes/mips-dis.c
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2013-07-07 10:00:43 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2013-07-07 10:00:43 +0000
commit23e69e47b4cb274e848e0f06e240cdf43b8e0a69 (patch)
tree64d09f5759d5465030d9de37881eb0fd2a728404 /opcodes/mips-dis.c
parent27c5c572c911ec2f77bab953586870919db15a29 (diff)
downloadbinutils-gdb-23e69e47b4cb274e848e0f06e240cdf43b8e0a69.tar.gz
include/opcode/
* mips.h: Update documentation of "+s" and "+S". opcodes/ * mips-opc.c (mips_builtin_opcodes): Use "+s" for "cins32" and "+S" for "cins". * mips-dis.c (print_mips_arg): Update "+s" and "+S" comments. Combine cases. gas/ * config/tc-mips.c (mips_ip): Preserve the real bit number for "+p". Require the msb to be <= 31 for "+s". Check that the size is <= 31 for both "+s" and "+S".
Diffstat (limited to 'opcodes/mips-dis.c')
-rw-r--r--opcodes/mips-dis.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c
index 9ef7247bf23..5777232b938 100644
--- a/opcodes/mips-dis.c
+++ b/opcodes/mips-dis.c
@@ -1072,11 +1072,8 @@ print_insn_args (const char *d,
infprintf (is, "0x%x", GET_OP (l, CINSPOS));
break;
- case 's': /* cins and exts length-minus-one */
- infprintf (is, "0x%x", GET_OP (l, CINSLM1));
- break;
-
- case 'S': /* cins32 and exts32 length-minus-one field */
+ case 's': /* cins32 and exts32 length-minus-one */
+ case 'S': /* cins and exts length-minus-one field */
infprintf (is, "0x%x", GET_OP (l, CINSLM1));
break;