[PATCH] x86: support APX forms of U{RD,WR}MSR
Jan Beulich
jbeulich@suse.com
Tue Jan 16 08:31:36 GMT 2024
On 16.01.2024 09:19, Hu, Lin1 wrote:
>> @@ -3482,11 +3482,13 @@ eretu, 0xf30f01ca, FRED, NoSuf, {}
>> // USER_MSR instructions.
>>
>> urdmsr, 0xf20f38f8, USER_MSR, RegMem|NoSuf|NoRex64, { Reg64, Reg64 }
>> -urdmsr, 0xf2f8/0, USER_MSR, Modrm|Vex128|VexMap7|VexW0|NoSuf, { Imm32, Reg64 }
>> +urdmsr, 0xf2f8, USER_MSR&APX_F, RegMem|EVexMap4|VexW0|NoSuf, { Reg64, Reg64 }
>> +urdmsr, 0xf2f8/0, APX_F(USER_MSR), Modrm|Vex128|VexMap7|EVex128|VexW0|NoSuf,
>> { Imm32, Reg64 }
>> uwrmsr, 0xf30f38f8, USER_MSR, Modrm|NoSuf|NoRex64, { Reg64, Reg64 }
>> +uwrmsr, 0xf3f8, USER_MSR&APX_F, Modrm||EVexMap4|VexW0|NoSuf, { Reg64, Reg64 }
>> // Immediates want to be first; md_assemble() takes care of swapping operands
>> // accordingly.
>> -uwrmsr, 0xf3f8/0, USER_MSR, Modrm|Vex128|VexMap7|VexW0|NoSuf, { Imm32, Reg64 }
>> +uwrmsr, 0xf3f8/0, APX_F(USER_MSR), Modrm|Vex128|VexMap7|EVex128|VexW0|NoSuf,
>> { Imm32, Reg64 }
>
> I think change the space name from VexMap7 to SpaceMap7 will be better.
Perhaps, but nothing I'd like to do right in this patch.
Jan
More information about the Binutils
mailing list