aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-mips.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1998-01-14 23:06:34 +0000
committerDoug Evans <dje@google.com>1998-01-14 23:06:34 +0000
commitb2cf4548a1762c133a96590f6ca1deb06e08b930 (patch)
tree67a48a41945c82942b03e918abc90d934427c62e /gas/config/tc-mips.c
parent3f89726318aaf4010045bf2eec07ce6f56488edd (diff)
downloadgdb-b2cf4548a1762c133a96590f6ca1deb06e08b930.zip
gdb-b2cf4548a1762c133a96590f6ca1deb06e08b930.tar.gz
gdb-b2cf4548a1762c133a96590f6ca1deb06e08b930.tar.bz2
* config/tc-mips.c (mips_ip): Don't test pinfo flags if INSN_MACRO.
Diffstat (limited to 'gas/config/tc-mips.c')
-rw-r--r--gas/config/tc-mips.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 28ee593..e2bf296 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)
{