[ppc-e500] fix dcbt and dcbtst
Aldy Hernandez
aldyh@redhat.com
Thu Feb 26 03:28:00 GMT 2004
Booke uses the CT field. Alan suggested I just change the mask
thusly.
Committed.
2004-02-25 Aldy Hernandez <aldyh@redhat.com>
* ppc-opc.c (powerpc_opcodes): Change mask for dcbt and dcbtst.
Index: ppc-opc.c
===================================================================
RCS file: /cvs/src/src/opcodes/ppc-opc.c,v
retrieving revision 1.63
diff -u -p -r1.63 ppc-opc.c
--- ppc-opc.c 20 Feb 2004 05:10:13 -0000 1.63
+++ ppc-opc.c 26 Feb 2004 03:24:14 -0000
@@ -3476,7 +3476,7 @@ const struct powerpc_opcode powerpc_opco
{ "mtsrin", X(31,242), XRA_MASK, PPC32, { RS, RB } },
{ "mtsri", X(31,242), XRA_MASK, POWER32, { RS, RB } },
-{ "dcbtst", X(31,246), XRT_MASK, PPC, { CT, RA, RB } },
+{ "dcbtst", X(31,246), X_MASK, PPC, { CT, RA, RB } },
{ "stbux", X(31,247), X_MASK, COM, { RS, RAS, RB } },
@@ -3510,7 +3510,7 @@ const struct powerpc_opcode powerpc_opco
{ "lscbx", XRC(31,277,0), X_MASK, M601, { RT, RA, RB } },
{ "lscbx.", XRC(31,277,1), X_MASK, M601, { RT, RA, RB } },
-{ "dcbt", X(31,278), XRT_MASK, PPC, { CT, RA, RB } },
+{ "dcbt", X(31,278), X_MASK, PPC, { CT, RA, RB } },
{ "lhzx", X(31,279), X_MASK, COM, { RT, RA, RB } },
More information about the Binutils
mailing list