[PATCH] x86: reject all invalid SAE variants

H.J. Lu hjl.tools@gmail.com
Tue Apr 19 14:51:41 GMT 2022


On Tue, Apr 19, 2022 at 7:29 AM Jan Beulich <jbeulich@suse.com> wrote:
>
> 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.
>

OK with the testcase fixes.

Thanks.

-- 
H.J.


More information about the Binutils mailing list