[PATCH] x86: reject all invalid SAE variants

Jan Beulich jbeulich@suse.com
Tue Apr 19 14:29:37 GMT 2022


On 19.04.2022 09:31, Jan Beulich via Binutils wrote:
> --- a/gas/testsuite/gas/i386/inval-avx512f.s
> +++ b/gas/testsuite/gas/i386/inval-avx512f.s
> @@ -321,4 +321,7 @@ _start:
>  	vaddps $0xcc, %zmm0, %zmm0, %zmm0
>  	vcmpss $0, $0xcc, %xmm0, %xmm0, %k0
>  
> +	vaddss {sae}, %zmm0, %zmm0, %zmm0
> +	vcmpps $0, {rn-sae}, %xmm0, %xmm0, %k0

While these will cause errors as expected, these really aren't the errors
we're after: What's %zmm0 here needs to be %xmm0 and vice versa. I've
corrected this locally, but won't resend just for this.

Jan



More information about the Binutils mailing list