summaryrefslogtreecommitdiff
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
commit54d5bfcea9b0c36e694ffc89356096adc8ede8bf (patch)
tree25c90ac9e215088067113b24ec67003fb193c3b0 /opcodes/i860-dis.c
parent74770921cfb5bf83d6b8788a22abe3061a7e1609 (diff)
downloadbinutils-redhat-54d5bfcea9b0c36e694ffc89356096adc8ede8bf.tar.gz
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 ba183ab3f7..69a106d41c 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);