[PATCH 2/4] x86/APX: respect {vex}/{vex3}

Jan Beulich jbeulich@suse.com
Tue Feb 20 10:30:51 GMT 2024


On 20.02.2024 11:12, Cui, Lili wrote:
>> On 18.02.2024 08:55, Cui, Lili wrote:
>>>> --- a/gas/testsuite/gas/i386/x86-64-apx-egpr-inval.s
>>>> +++ b/gas/testsuite/gas/i386/x86-64-apx-egpr-inval.s
>>>> @@ -207,3 +207,13 @@
>>>>  	vtestpd (%r27),%ymm6
>>>>  	vtestps (%r27),%xmm6
>>>>  	vtestps (%r27),%ymm6
>>>> +# {vex}
>>>> +	{vex} and %eax, %eax
>>>> +	{vex} and %r8, %r8
>>>> +	{vex} and %r16, %r16
>>>> +	{vex} and %eax, %eax, %eax
>>>> +	{vex} and %r8, %r8, %r8
>>>> +	{vex} and %r16, %r16, %r16
>>>> +	{vex} andn %eax, %eax, %eax
>>>> +	{vex} andn %r8, %r8, %r8
>>>
>>> These two test cases are valid.
>>
>> ... reflects exactly this fact.
>>
> 
> Normally we don't put valid test cases into invalid test case file, right?

Depends, I would say (and I think you'll find other examples). I view it as
pretty relevant here.

Jan


More information about the Binutils mailing list