x86/APX: fix disassembly of byte register operands
Checks
Context |
Check |
Description |
linaro-tcwg-bot/tcwg_binutils_build--master-arm |
success
|
Build passed
|
linaro-tcwg-bot/tcwg_binutils_build--master-aarch64 |
success
|
Build passed
|
linaro-tcwg-bot/tcwg_binutils_check--master-aarch64 |
success
|
Test passed
|
linaro-tcwg-bot/tcwg_binutils_check--master-arm |
success
|
Test passed
|
Commit Message
Like for REX/REX2, EVEX-prefixed insns access the low bytes of all
registers; %ah...%bh are inaccessible. Reflect this correctly in output,
by leveraging REX machinery we already have to this effect.
@@ -9005,6 +9005,7 @@ get_valid_dis386 (const struct dis386 *d
ins->evex_type = evex_from_legacy;
if (ins->address_mode != mode_64bit)
return &bad_opcode;
+ ins->rex |= REX_OPCODE;
break;
case 0x5:
vex_table_index = EVEX_MAP5;