Message ID | 20190117130315.GH30353@tucnak |
---|---|
State | New |
Headers | show |
Series | Read avx512vl-vfixupimms*-2.c testcases (PR target/88489) | expand |
> > > For r267160, I'd expect you want to revert just the config/i386/ part and > > > keep the testcases, they should work even with the changes reverted, right? > > > > > The testcase part also need to be reverted since we have changed them > > according to the incorrect intrinsic list in SDM. > > I don't really understand this. > > The testcases succeed just fine for me in the current trunk with all the > reversions and test something the current state of the testsuite doesn't > check normally, in particular that the testcases run correctly even when > -mavx512vl is used. As that misbehaved in the past, we should make sure we > don't break that again. > You're right. The testcases need to be kept to prevent regression. > Uros, is it ok to reapply this to current trunk?
On Fri, Jan 18, 2019 at 3:42 AM Wei Xiao <wei.william.xiao@gmail.com> wrote: > > > > > For r267160, I'd expect you want to revert just the config/i386/ part and > > > > keep the testcases, they should work even with the changes reverted, right? > > > > > > > The testcase part also need to be reverted since we have changed them > > > according to the incorrect intrinsic list in SDM. > > > > I don't really understand this. > > > > The testcases succeed just fine for me in the current trunk with all the > > reversions and test something the current state of the testsuite doesn't > > check normally, in particular that the testcases run correctly even when > > -mavx512vl is used. As that misbehaved in the past, we should make sure we > > don't break that again. > > > > You're right. The testcases need to be kept to prevent regression. > > > Uros, is it ok to reapply this to current trunk? Yes, please reapply the tests. Thanks, Uros.
--- gcc/testsuite/gcc.target/i386/avx512vl-vfixupimmsd-2.c (nonexistent) +++ gcc/testsuite/gcc.target/i386/avx512vl-vfixupimmsd-2.c (revision 268010) @@ -0,0 +1,20 @@ +/* { dg-do run } */ +/* { dg-options "-mavx512vl -O2 -std=gnu99" } */ +/* { dg-require-effective-target avx512vl } */ +/* { dg-require-effective-target c99_runtime } */ + +#define AVX512VL +#define AVX512F_LEN 512 +#define AVX512F_LEN_HALF 256 +#include "avx512f-vfixupimmsd-2.c" + +static void +test_256 (void) +{ + test_512 (); +} + +static void +test_128 (void) +{ +} --- gcc/testsuite/gcc.target/i386/avx512vl-vfixupimmss-2.c (nonexistent) +++ gcc/testsuite/gcc.target/i386/avx512vl-vfixupimmss-2.c (revision 268010) @@ -0,0 +1,20 @@ +/* { dg-do run } */ +/* { dg-options "-mavx512vl -O2 -std=gnu99" } */ +/* { dg-require-effective-target avx512vl } */ +/* { dg-require-effective-target c99_runtime } */ + +#define AVX512VL +#define AVX512F_LEN 512 +#define AVX512F_LEN_HALF 256 +#include "avx512f-vfixupimmss-2.c" + +static void +test_256 (void) +{ + test_512 (); +} + +static void +test_128 (void) +{ +}