From af55c2e6c3b2479292a76224a93f0504ceaacf55 Mon Sep 17 00:00:00 2001 From: Chris Demetriou Date: Wed, 24 Apr 2002 21:52:47 +0000 Subject: 2002-04-24 Chris G. Demetriou * config/tc-mips.c (macro_build): Do _not_ allow MIPS-3D instructions to be generated by macros. --- gas/config/tc-mips.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'gas/config/tc-mips.c') diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index eaf5552..520aff1 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -2913,12 +2913,11 @@ macro_build (place, counter, ep, name, fmt, va_alist) /* Search until we get a match for NAME. */ while (1) { + /* It is assumed here that macros will never generate + MIPS-3D instructions. */ if (strcmp (fmt, insn.insn_mo->args) == 0 && insn.insn_mo->pinfo != INSN_MACRO - && OPCODE_IS_MEMBER (insn.insn_mo, - (mips_opts.isa - | (mips_opts.ase_mips3d ? INSN_MIPS3D : 0)), - mips_arch) + && OPCODE_IS_MEMBER (insn.insn_mo, mips_opts.isa, mips_arch) && (mips_arch != CPU_R4650 || (insn.insn_mo->pinfo & FP_D) == 0)) break; -- cgit v1.1