This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH] gas miscompiles Power clf instruction
- To: binutils at sources dot redhat dot com
- Subject: [PATCH] gas miscompiles Power clf instruction
- From: Zoltan Hidvegi <hzoli at hzoli dot 2y dot net>
- Date: Thu, 28 Jun 2001 17:38:26 -0500 (CDT)
gas puts the arguments of the clf instruction to the wrong fields.
Fix is below.
Zoli
Index: opcodes/ppc-opc.c
===================================================================
RCS file: /cvs/src/src/opcodes/ppc-opc.c,v
retrieving revision 1.12
diff -u -r1.12 ppc-opc.c
--- ppc-opc.c 2001/05/14 17:20:13 1.12
+++ ppc-opc.c 2001/06/28 22:35:08
@@ -2480,7 +2480,7 @@
{ "mtsrdin", X(31,114), XRA_MASK, PPC64, { RS, RB } },
-{ "clf", X(31,118), XRB_MASK, POWER, { RT, RA } },
+{ "clf", X(31,118), XRB_MASK, POWER, { RA, RB } },
{ "lbzux", X(31,119), X_MASK, COM, { RT, RAL, RB } },