aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 },