From: Doug Evans Date: Wed, 14 Jan 1998 23:06:34 +0000 (+0000) Subject: * config/tc-mips.c (mips_ip): Don't test pinfo flags if INSN_MACRO. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b2cf4548a1762c133a96590f6ca1deb06e08b930;p=binutils-gdb.git * config/tc-mips.c (mips_ip): Don't test pinfo flags if INSN_MACRO. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index d1582ec214a..20a08123ff2 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +Wed Jan 14 15:02:19 1998 Doug Evans + + * config/tc-mips.c (mips_ip): Don't test pinfo flags if INSN_MACRO. + Mon Jan 12 13:04:57 1998 Doug Evans * cgen.c: #include setjmp.h. Clean up pass over `struct foo' usage. diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 28ee593a110..e2bf2968158 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -6820,12 +6820,15 @@ mips_ip (str, ip) else ok = false; - if (mips_4650 && (insn->pinfo & FP_D) != 0) - ok = false; - /* start-sanitize-r5900 */ - if (mips_5900 && (insn->pinfo & FP_D) != 0) - ok = false; - /* end-sanitize-r5900 */ + if (insn->pinfo != INSN_MACRO) + { + if (mips_4650 && (insn->pinfo & FP_D) != 0) + ok = false; + /* start-sanitize-r5900 */ + if (mips_5900 && (insn->pinfo & FP_D) != 0) + ok = false; + /* end-sanitize-r5900 */ + } if (! ok) {