diff options
author | Thiemo Seufer <ths@networkno.de> | 2006-04-30 18:34:39 +0000 |
---|---|---|
committer | Thiemo Seufer <ths@networkno.de> | 2006-04-30 18:34:39 +0000 |
commit | 9bcd4f993c6e062d08c30412ed6658ba0c81529f (patch) | |
tree | be8ed070850ac0cd4b1f4b9d7d88a18b54fb1078 /opcodes/mips-dis.c | |
parent | da54898db347a6f8e3ac9fe9a74ef306eabf13e4 (diff) | |
download | gdb-9bcd4f993c6e062d08c30412ed6658ba0c81529f.zip gdb-9bcd4f993c6e062d08c30412ed6658ba0c81529f.tar.gz gdb-9bcd4f993c6e062d08c30412ed6658ba0c81529f.tar.bz2 |
[ gas/ChangeLog ]
2006-04-30 Thiemo Seufer <ths@mips.com>
David Ung <davidu@mips.com>
* config/tc-mips.c (validate_mips_insn): Handling of udi cases.
(mips_immed): New table that records various handling of udi
instruction patterns.
(mips_ip): Adds udi handling.
[ include/opcode/ChangeLog ]
2006-04-30 Thiemo Seufer <ths@mips.com>
David Ung <davidu@mips.com>
* mips.h: Defines udi bits and masks. Add description of
characters which may appear in the args field of udi
instructions.
[ opcodes/ChangeLog ]
2006-04-30 Thiemo Seufer <ths@mips.com>
David Ung <davidu@mips.com>
* mips-opc.c (mips_builtin_opcodes): Add udi instructions
"udi0" to "udi15".
* mips-dis.c (print_insn_args): Adds udi argument handling.
Diffstat (limited to 'opcodes/mips-dis.c')
-rw-r--r-- | opcodes/mips-dis.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c index 0e785cb..ee1e9af 100644 --- a/opcodes/mips-dis.c +++ b/opcodes/mips-dis.c @@ -753,6 +753,26 @@ print_insn_args (const char *d, (*info->fprintf_func) (info->stream, "0x%x", msb - lsb + 1); break; + case '1': + (*info->fprintf_func) (info->stream, "0x%lx", + (l >> OP_SH_UDI1) & OP_MASK_UDI1); + break; + + case '2': + (*info->fprintf_func) (info->stream, "0x%lx", + (l >> OP_SH_UDI2) & OP_MASK_UDI2); + break; + + case '3': + (*info->fprintf_func) (info->stream, "0x%lx", + (l >> OP_SH_UDI3) & OP_MASK_UDI3); + break; + + case '4': + (*info->fprintf_func) (info->stream, "0x%lx", + (l >> OP_SH_UDI4) & OP_MASK_UDI4); + break; + case 'C': case 'H': msbd = (l >> OP_SH_EXTMSBD) & OP_MASK_EXTMSBD; |