mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 14:59:39 +02:00
testsuite: Fix up a few tests for i686-linux
Some of these tests need -Wno-psabi to pass on ia32, forwprop-43.c uses the vect* effective targets which rely on vect.exp added options but doesn't provide those (added -msse2 for ia32). And lastly, part-vect-absnegbf.c is a really weird test, it needs at least -msse2 to pass on ia32 obviously (otherwise it is an error to even use __bf16 or _Float16), but doesn't use -mavx512bf16 but has avx512bf16 runtime check. No idea what was meant, perhaps we need 2 copies of the test, one with plain -msse2 and just requiring sse2 at runtime and another wiht -mavx512bf16 requiring that? Just added -msse2 for now. 2026-03-18 Jakub Jelinek <jakub@redhat.com> * gcc.dg/tree-ssa/forwprop-42.c: Add -Wno-psabi to dg-options. * gcc.dg/tree-ssa/forwprop-43.c: Likewise. For ia32 add -msse2 as dg-additional-options. * gcc.dg/torture/pr65270-3.c: Add -Wno-psabi to dg-options. * gcc.target/i386/part-vect-absnegbf.c: Add -msse2 to dg-options.
This commit is contained in:
committed by
Jakub Jelinek
parent
c31ce49786
commit
1a5d977667
@@ -1,4 +1,5 @@
|
||||
/* { dg-do run } */
|
||||
/* { dg-additional-options "-Wno-psabi" } */
|
||||
|
||||
typedef int v4si_unaligned __attribute__((vector_size(16),aligned(4)));
|
||||
typedef int v4si __attribute__((vector_size(16)));
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2 -fdump-tree-forwprop1" } */
|
||||
/* { dg-options "-O2 -fdump-tree-forwprop1 -Wno-psabi" } */
|
||||
|
||||
typedef unsigned int vec2 __attribute__ ((vector_size (2 * sizeof (unsigned int))));
|
||||
typedef unsigned int vec1 __attribute__ ((vector_size (sizeof (unsigned int))));
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2 -fdump-tree-forwprop1" } */
|
||||
/* { dg-options "-O2 -fdump-tree-forwprop1 -Wno-psabi" } */
|
||||
/* { dg-require-effective-target stdint_types } */
|
||||
/* { dg-require-effective-target vect_int } */
|
||||
/* { dg-additional-options "-fgimple" } */
|
||||
/* { dg-additional-options "-msse2" { target ia32 } } */
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* { dg-do run } */
|
||||
/* { dg-options "-O1 -fdump-tree-vect-details -fdump-tree-slp-details -fdump-tree-optimized" } */
|
||||
/* { dg-options "-O1 -fdump-tree-vect-details -fdump-tree-slp-details -fdump-tree-optimized -msse2" } */
|
||||
|
||||
extern void abort (void);
|
||||
static void do_test (void);
|
||||
|
||||
Reference in New Issue
Block a user