* config/tc-mips.c (mips_ip): Don't test pinfo flags if INSN_MACRO.
authorDoug Evans <dje@google.com>
Wed, 14 Jan 1998 23:06:34 +0000 (23:06 +0000)
committerDoug Evans <dje@google.com>
Wed, 14 Jan 1998 23:06:34 +0000 (23:06 +0000)
gas/ChangeLog
gas/config/tc-mips.c

index d1582ec..20a0812 100644 (file)
@@ -1,3 +1,7 @@
+Wed Jan 14 15:02:19 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * config/tc-mips.c (mips_ip): Don't test pinfo flags if INSN_MACRO.
+
 Mon Jan 12 13:04:57 1998  Doug Evans  <devans@seba.cygnus.com>
 
        * cgen.c: #include setjmp.h.  Clean up pass over `struct foo' usage.
index 28ee593..e2bf296 100644 (file)
@@ -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)
        {