aboutsummaryrefslogtreecommitdiff
path: root/opcodes
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
parentd0b45d99e856027785d6ee913238f02f38ff91fe (diff)
downloadgdb-b645cb172661834dbd2f7baa71d610bc52f02e47.zip
gdb-b645cb172661834dbd2f7baa71d610bc52f02e47.tar.gz
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')
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/i860-dis.c7
2 files changed, 10 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index c30e25a..de8f363 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2003-05-18 Jason Eckhardt <jle@rice.edu>
+
+ * i860-dis.c (print_insn_i860): Instruction shrd has a dual bit,
+ print it.
+
2003-05-17 Andreas Jaeger <aj@suse.de>
* Makefile.am (libopcodes_la_LIBADD): Add libbfd.la.
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);