aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1996-08-23 18:58:57 +0000
committerJeff Law <law@redhat.com>1996-08-23 18:58:57 +0000
commit6c1fc4d3fab30c3d39c9c5f48819f036b5b75ff4 (patch)
tree59ec4938e9b3b68786019fd28697b62d1ebad9cb
parent7be3453a1afaa6996d7611cfcd9b059570509db4 (diff)
downloadgdb-6c1fc4d3fab30c3d39c9c5f48819f036b5b75ff4.zip
gdb-6c1fc4d3fab30c3d39c9c5f48819f036b5b75ff4.tar.gz
gdb-6c1fc4d3fab30c3d39c9c5f48819f036b5b75ff4.tar.bz2
* v850-opc.c (v850_opcodes): Correct bit pattern for setf.
-rw-r--r--opcodes/ChangeLog2
-rw-r--r--opcodes/v850-opc.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 143a1dd..a66d07a 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,6 +1,8 @@
start-sanitize-v850
Fri Aug 23 00:27:01 1996 Jeffrey A Law (law@cygnus.com)
+ * v850-opc.c (v850_opcodes): Correct bit pattern for setf.
+
* v850-opc.c (v850_operands): D16 inserts at offset 16!
* v850-opc.c (two): Get order of words correct.
diff --git a/opcodes/v850-opc.c b/opcodes/v850-opc.c
index 210d745..3d4973e 100644
--- a/opcodes/v850-opc.c
+++ b/opcodes/v850-opc.c
@@ -159,7 +159,7 @@ const struct v850_opcode v850_opcodes[] = {
{ "divh", OP(0x02), OP_MASK, IF1, 2 },
{ "cmp", OP(0x0f), OP_MASK, IF1, 2 },
{ "cmp", OP(0x13), OP_MASK, IF2, 2 },
-{ "setf", two(0x0000,0x0000), two(0x0000,0xffff), {CCCC,R2}, 4 },
+{ "setf", two(0x07e0,0x0000), two(0x07f0,0xffff), {CCCC,R2}, 4 },
/* saturated operation instructions */
{ "satadd", OP(0x06), OP_MASK, IF1, 2 },