[PATCH] x86: support APX forms of U{RD,WR}MSR
Cui, Lili
lili.cui@intel.com
Mon Jan 15 06:41:32 GMT 2024
More information about the Binutils mailing list
Mon Jan 15 06:41:32 GMT 2024
- Previous message (by thread): [PATCH] x86: support APX forms of U{RD,WR}MSR
- Next message (by thread): [PATCH] x86: support APX forms of U{RD,WR}MSR
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> This was missed in 6177c84d5edc ("Support APX GPR32 with extend evex
> prefix").
>
It was disclosed on December 15, 2023, we haven't added it yet, this patch LGTM, thank you.
> @@ -9090,6 +9094,9 @@ get_valid_dis386 (const struct dis386 *d
> case 0x6:
> vex_table_index = EVEX_MAP6;
> break;
> + case 0x7:
> + vex_table_index = EVEX_MAP7;
> + break;
> }
>
> /* The second byte after 0x62. */ @@ -9159,7 +9166,12 @@
> get_valid_dis386 (const struct dis386 *d
>
> ins->codep++;
> vindex = *ins->codep++;
> - dp = &evex_table[vex_table_index][vindex];
> + if (vex_table_index != EVEX_MAP7)
> + dp = &evex_table[vex_table_index][vindex];
> + else if (vindex == 0xf8)
> + dp = &map7_f8_opcode;
> + else
> + dp = &bad_opcode;
The processing of this part of MAP7 seems strange. Maybe we can restore it when more map7 instructions appear in the future.
Lili.
- Previous message (by thread): [PATCH] x86: support APX forms of U{RD,WR}MSR
- Next message (by thread): [PATCH] x86: support APX forms of U{RD,WR}MSR
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list