aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-07-03 18:37:39 +0000
committerNick Clifton <nickc@redhat.com>2001-07-03 18:37:39 +0000
commit2dd46b8b52575d34b13e9eb7e5be8550fecebd56 (patch)
treef0b22f54837d3bee91621765aea6a4fb9743e9a5
parentd303a449f2c523cd0547374a3a124e8c68bc9930 (diff)
downloadgdb-2dd46b8b52575d34b13e9eb7e5be8550fecebd56.zip
gdb-2dd46b8b52575d34b13e9eb7e5be8550fecebd56.tar.gz
gdb-2dd46b8b52575d34b13e9eb7e5be8550fecebd56.tar.bz2
Fix encoding of clf instruction
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/ppc-opc.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index c6af91e..5c9b9d7 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2001-07-03 Zoltan Hidvegi <hzoli@hzoli.2y.net>
+
+ * ppc-opc.c: Fix encoding of 'clf' instruction.
+
2001-06-30 Geoffrey Keating <geoffk@redhat.com>
* cgen-ibld.in (insert_normal): Support CGEN_IFLD_SIGN_OPT.
diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c
index aa9616f..311a5ba 100644
--- a/opcodes/ppc-opc.c
+++ b/opcodes/ppc-opc.c
@@ -2480,7 +2480,7 @@ const struct powerpc_opcode powerpc_opcodes[] = {
{ "mtsrdin", X(31,114), XRA_MASK, PPC64, { RS, RB } },
-{ "clf", X(31,118), XRB_MASK, POWER, { RT, RA } },
+{ "clf", X(31,118), XTO_MASK, POWER, { RA, RB } },
{ "lbzux", X(31,119), X_MASK, COM, { RT, RAL, RB } },