* tc-i386.c (md_assemble): Skip suffix check if the opcode modifier
has the IgnoreSize bit set.
This commit is contained in:
parent
c43c2cc5fa
commit
fa2255cb6b
@ -41,6 +41,11 @@ Mon Aug 14 11:49:12 2000 Jeffrey A Law (law@cygnus.com)
|
|||||||
* symbols.c: Fix formatting.
|
* symbols.c: Fix formatting.
|
||||||
* expr.c: Likewise.
|
* expr.c: Likewise.
|
||||||
|
|
||||||
|
Wed Aug 9 16:28:21 EDT 2000 Diego Novillo <dnovillo@cygnus.com>
|
||||||
|
|
||||||
|
* tc-i386.c (md_assemble): Skip suffix check if the opcode modifier
|
||||||
|
has the IgnoreSize bit set.
|
||||||
|
|
||||||
2000-08-09 Alan Modra <alan@linuxcare.com.au>
|
2000-08-09 Alan Modra <alan@linuxcare.com.au>
|
||||||
|
|
||||||
From Rodney Brown <RodneyBrown@mynd.com>
|
From Rodney Brown <RodneyBrown@mynd.com>
|
||||||
|
@ -1518,6 +1518,8 @@ md_assemble (line)
|
|||||||
|
|
||||||
/* Check the suffix, except for some instructions in intel mode. */
|
/* Check the suffix, except for some instructions in intel mode. */
|
||||||
if ((t->opcode_modifier & suffix_check)
|
if ((t->opcode_modifier & suffix_check)
|
||||||
|
&& !(intel_syntax
|
||||||
|
&& (t->opcode_modifier & IgnoreSize))
|
||||||
&& !(intel_syntax
|
&& !(intel_syntax
|
||||||
&& t->base_opcode == 0xd9
|
&& t->base_opcode == 0xd9
|
||||||
&& (t->extension_opcode == 5 /* 0xd9,5 "fldcw" */
|
&& (t->extension_opcode == 5 /* 0xd9,5 "fldcw" */
|
||||||
@ -1808,6 +1810,9 @@ md_assemble (line)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
else if (intel_syntax && (i.tm.opcode_modifier & IgnoreSize))
|
||||||
|
/* Do nothing if the instruction is going to ignore the prefix. */
|
||||||
|
;
|
||||||
else
|
else
|
||||||
abort ();
|
abort ();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user