Re: [PATCH] x86-64: make "length_vex" also account for VEX.B use by register operand

2022-06-03 Thread Uros Bizjak via Gcc-patches
On Thu, Jun 2, 2022 at 5:11 PM Jan Beulich wrote: > > The length attribute ought to be "the (bounding maximum) length of an > instruction" according to the comment next to its definition. A register > operand encoded using the ModR/M.rm field will additionally use VEX.B > for encoding the highest

[PATCH] x86-64: make "length_vex" also account for VEX.B use by register operand

2022-06-02 Thread Jan Beulich via Gcc-patches
The length attribute ought to be "the (bounding maximum) length of an instruction" according to the comment next to its definition. A register operand encoded using the ModR/M.rm field will additionally use VEX.B for encoding the highest bit of the register number. Hence for the high 8 GPR register