mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-11 08:05:35 +08:00
2006-12-14 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (match_template): Simplify 3 and 4 operand match.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2006-12-14 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* config/tc-i386.c (match_template): Simplify 3 and 4 operand
|
||||||
|
match.
|
||||||
|
|
||||||
2006-12-13 H.J. Lu <hongjiu.lu@intel.com>
|
2006-12-13 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* config/tc-i386.c (build_modrm_byte): Set the Operand_PCrel
|
* config/tc-i386.c (build_modrm_byte): Set the Operand_PCrel
|
||||||
|
@ -2734,10 +2734,14 @@ match_template ()
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* Found a forward 2 operand match here. */
|
/* Found a forward 2 operand match here. */
|
||||||
if (t->operands > 2)
|
switch (t->operands)
|
||||||
overlap2 = i.types[2] & operand_types[2];
|
{
|
||||||
if (t->operands > 3)
|
case 4:
|
||||||
overlap3 = i.types[3] & operand_types[3];
|
overlap3 = i.types[3] & operand_types[3];
|
||||||
|
case 3:
|
||||||
|
overlap2 = i.types[2] & operand_types[2];
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
switch (t->operands)
|
switch (t->operands)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user