On Sun, Sep 13, 2026 at 10:35 AM Iain Sandoe <[email protected]> wrote:
>
> gentle ping - these are not darwin-specific.
> thanks, Iain
>
> > On 6 Sep 2026, at 17:08, Iain Sandoe <[email protected]> wrote:
> >
> > Tested on x86_64-linux (m32/m64), darwin, i686-darwin, OK for trunk?
> > thanks
> > Iain
> >
> > --- 8< ---
> >
> > These tests require assembler support for the ISAs implied or set 
> > explicitly.
> > Add dg-requires for avx512.
> >
> > gcc/testsuite/ChangeLog:
> >
> > * gcc.c-torture/compile/pr106433.c: Require avx512 support from the
> > assembler.
> > * gcc.c-torture/compile/pr113322-1.c: Likewise.
> > * gcc.c-torture/compile/pr116348.c: Likewise.
> > * gcc.c-torture/compile/pr97576.c: Likewise.

We can use { target x86 } nowadays.

OK with the above change.

Thanks,
Uros.

> >
> > Signed-off-by: Iain Sandoe <[email protected]>
> > ---
> > gcc/testsuite/gcc.c-torture/compile/pr106433.c   | 1 +
> > gcc/testsuite/gcc.c-torture/compile/pr113322-1.c | 3 ++-
> > gcc/testsuite/gcc.c-torture/compile/pr116348.c   | 1 +
> > gcc/testsuite/gcc.c-torture/compile/pr97576.c    | 1 +
> > 4 files changed, 5 insertions(+), 1 deletion(-)
> >
> > diff --git a/gcc/testsuite/gcc.c-torture/compile/pr106433.c 
> > b/gcc/testsuite/gcc.c-torture/compile/pr106433.c
> > index e02ad5ffe15..44ebf927499 100644
> > --- a/gcc/testsuite/gcc.c-torture/compile/pr106433.c
> > +++ b/gcc/testsuite/gcc.c-torture/compile/pr106433.c
> > @@ -1,4 +1,5 @@
> > /* PR tree-optimization/106433 */
> > +/* { dg-require-effective-target avx512f { target x86_64-*-* i?86-*-* } } 
> > */
> >
> > int m, *p;
> >
> > diff --git a/gcc/testsuite/gcc.c-torture/compile/pr113322-1.c 
> > b/gcc/testsuite/gcc.c-torture/compile/pr113322-1.c
> > index efed9603dfd..01d50fed9f6 100644
> > --- a/gcc/testsuite/gcc.c-torture/compile/pr113322-1.c
> > +++ b/gcc/testsuite/gcc.c-torture/compile/pr113322-1.c
> > @@ -1,8 +1,9 @@
> > /* { dg-additional-options "-march=sapphirerapids" { target x86_64*-*-* 
> > i?86-*-* } } */
> > +/* { dg-require-effective-target avx512f { target x86_64-*-* i?86-*-* } } 
> > */
> > /* PR middle-end/113322 */
> >
> > float a[16];
> > -void
> > +void
> > foo ()
> > {
> > int i;
> > diff --git a/gcc/testsuite/gcc.c-torture/compile/pr116348.c 
> > b/gcc/testsuite/gcc.c-torture/compile/pr116348.c
> > index 97ab0181ab8..e22e1d617dc 100644
> > --- a/gcc/testsuite/gcc.c-torture/compile/pr116348.c
> > +++ b/gcc/testsuite/gcc.c-torture/compile/pr116348.c
> > @@ -1,4 +1,5 @@
> > /* { dg-additional-options "-march=znver4" { target x86_64-*-* i?86-*-* } } 
> > */
> > +/* { dg-require-effective-target avx512vbmi2 { target x86_64-*-* i?86-*-* 
> > } } */
> >
> > int *a;
> > int b;
> > diff --git a/gcc/testsuite/gcc.c-torture/compile/pr97576.c 
> > b/gcc/testsuite/gcc.c-torture/compile/pr97576.c
> > index 4bcadabcca0..64651b74234 100644
> > --- a/gcc/testsuite/gcc.c-torture/compile/pr97576.c
> > +++ b/gcc/testsuite/gcc.c-torture/compile/pr97576.c
> > @@ -1,5 +1,6 @@
> > /* { dg-additional-options "-std=gnu17" } */
> > /* { dg-require-effective-target non_strict_prototype } */
> > +/* { dg-require-effective-target avx512dq { target x86_64-*-* i?86-*-* } } 
> > */
> >
> > void
> > pc (void);
> > --
> > 2.50.1 (Apple Git-155)
> >
>

Reply via email to