From fa2255cb6bd0e86e547f64660f09db56365edd9f Mon Sep 17 00:00:00 2001 From: Diego Novillo Date: Mon, 14 Aug 2000 21:12:47 +0000 Subject: [PATCH] * tc-i386.c (md_assemble): Skip suffix check if the opcode modifier has the IgnoreSize bit set. --- gas/ChangeLog | 5 +++++ gas/config/tc-i386.c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index 1deb66c8e1a..61f044f4789 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -41,6 +41,11 @@ Mon Aug 14 11:49:12 2000 Jeffrey A Law (law@cygnus.com) * symbols.c: Fix formatting. * expr.c: Likewise. +Wed Aug 9 16:28:21 EDT 2000 Diego Novillo + + * tc-i386.c (md_assemble): Skip suffix check if the opcode modifier + has the IgnoreSize bit set. + 2000-08-09 Alan Modra From Rodney Brown diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 4324e2834c3..5f85b2b37d6 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -1518,6 +1518,8 @@ md_assemble (line) /* Check the suffix, except for some instructions in intel mode. */ if ((t->opcode_modifier & suffix_check) + && !(intel_syntax + && (t->opcode_modifier & IgnoreSize)) && !(intel_syntax && t->base_opcode == 0xd9 && (t->extension_opcode == 5 /* 0xd9,5 "fldcw" */ @@ -1808,6 +1810,9 @@ md_assemble (line) } #endif } + else if (intel_syntax && (i.tm.opcode_modifier & IgnoreSize)) + /* Do nothing if the instruction is going to ignore the prefix. */ + ; else abort (); } -- 2.30.2