aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/config/tc-ppc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c
index 60ee2f7..37aba98 100644
--- a/gas/config/tc-ppc.c
+++ b/gas/config/tc-ppc.c
@@ -759,6 +759,8 @@ md_begin ()
special case. */
if (strcmp (retval, "exists") != 0
|| (((ppc_cpu & PPC_OPCODE_601) == 0
+ || ((ppc_cpu & ~PPC_OPCODE_POWER2)
+ != (PPC_OPCODE_POWER | PPC_OPCODE_PPC))
|| strcmp (op->name, "mfdec") != 0)
&& (((ppc_cpu & ~PPC_OPCODE_POWER2)
!= (PPC_OPCODE_POWER | PPC_OPCODE_PPC))