aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i860-dis.c
diff options
context:
space:
mode:
authorJason Eckhardt <jle@rice.edu>2003-05-18 21:24:33 +0000
committerJason Eckhardt <jle@rice.edu>2003-05-18 21:24:33 +0000
commitb645cb172661834dbd2f7baa71d610bc52f02e47 (patch)
treed151567e42057669fb972e799af44a5c12d75153 /opcodes/i860-dis.c
parentd0b45d99e856027785d6ee913238f02f38ff91fe (diff)
downloadfsf-binutils-gdb-b645cb172661834dbd2f7baa71d610bc52f02e47.zip
fsf-binutils-gdb-b645cb172661834dbd2f7baa71d610bc52f02e47.tar.gz
fsf-binutils-gdb-b645cb172661834dbd2f7baa71d610bc52f02e47.tar.bz2
2003-05-18 Jason Eckhardt <jle@rice.edu>
gas: * config/tc-i860.c (i860_process_insn): Initialize fc after each opcode mismatch. include/opcode: * i860.h (form, pform): Add missing .dd suffix. opcodes: * i860-dis.c (print_insn_i860): Instruction shrd has a dual bit, print it. bfd: * elf32-i860.c (elf32_i860_relocate_highadj): Simplify calculation.
Diffstat (limited to 'opcodes/i860-dis.c')
-rw-r--r--opcodes/i860-dis.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/opcodes/i860-dis.c b/opcodes/i860-dis.c
index ba183ab..69a106d 100644
--- a/opcodes/i860-dis.c
+++ b/opcodes/i860-dis.c
@@ -138,8 +138,11 @@ print_insn_i860 (memaddr, info)
const char *s;
int val;
- /* If this a flop and its dual bit is set, prefix with 'd.'. */
- if ((insn & 0xfc000000) == 0x48000000 && (insn & 0x200))
+ /* If this a flop (or a shrd) and its dual bit is set,
+ prefix with 'd.'. */
+ if (((insn & 0xfc000000) == 0x48000000
+ || (insn & 0xfc000000) == 0xb0000000)
+ && (insn & 0x200))
(*info->fprintf_func) (info->stream, "d.%s\t", opcode->name);
else
(*info->fprintf_func) (info->stream, "%s\t", opcode->name);