mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 18:08:24 +08:00
x86: Remove unnecessary vex.w check for xh_mode in disassembler
For all the xh_mode usage in table, they are all using %XH, which will print "{bad}" while EVEX.W=1. This makes this vex.w check unnecessary. opcodes/ChangeLog: * i386-dis.c (OP_E_memory): Remove vex.w check for xh_mode.
This commit is contained in:
@ -12205,10 +12205,6 @@ OP_E_memory (instr_info *ins, int bytemode, int sizeflag)
|
||||
&& (!ins->intel_syntax || !(ins->evex_used & EVEX_len_used)))
|
||||
{
|
||||
if (bytemode == xh_mode)
|
||||
{
|
||||
if (ins->vex.w)
|
||||
oappend (ins, "{bad}");
|
||||
else
|
||||
{
|
||||
switch (ins->vex.length)
|
||||
{
|
||||
@ -12225,7 +12221,6 @@ OP_E_memory (instr_info *ins, int bytemode, int sizeflag)
|
||||
abort ();
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (bytemode == q_mode
|
||||
|| bytemode == ymmq_mode)
|
||||
ins->vex.no_broadcast = true;
|
||||
|
Reference in New Issue
Block a user