diff options
author | Haochen Jiang <haochen.jiang@intel.com> | 2024-09-14 15:55:53 +0800 |
---|---|---|
committer | Haochen Jiang <haochen.jiang@intel.com> | 2024-09-19 14:10:28 +0800 |
commit | 2b7b8d3bb52a23aa8b1d6e9a2d57c83db2078f73 (patch) | |
tree | 632308a75672fa7c0b78047b3f6061d2bb679a54 /gcc | |
parent | b1ea710b1bcdda233f96538c5404228d2b244e01 (diff) | |
download | gcc-2b7b8d3bb52a23aa8b1d6e9a2d57c83db2078f73.zip gcc-2b7b8d3bb52a23aa8b1d6e9a2d57c83db2078f73.tar.gz gcc-2b7b8d3bb52a23aa8b1d6e9a2d57c83db2078f73.tar.bz2 |
i386: Add missing avx512f-mask-type.h include
Since commit r15-3594, we fixed the bugs in MASK_TYPE for AVX10.2
testcases, but we missed the following four.
The tests are not FAIL since the binutils part haven't been merged
yet, which leads to UNSUPPORTED test. But the avx512f-mask-type.h
needs to be included, otherwise, it will be compile error.
gcc/testsuite/ChangeLog:
* gcc.target/i386/avx10_2-512-vpdpbssd-2.c: Include
avx512f-mask-type.h.
* gcc.target/i386/avx10_2-vminmaxsd-2.c: Ditto.
* gcc.target/i386/avx10_2-vminmaxsh-2.c: Ditto.
* gcc.target/i386/avx10_2-vminmaxss-2.c: Ditto.
Diffstat (limited to 'gcc')
4 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/i386/avx10_2-512-vpdpbssd-2.c b/gcc/testsuite/gcc.target/i386/avx10_2-512-vpdpbssd-2.c index add9de8..624a1a8 100644 --- a/gcc/testsuite/gcc.target/i386/avx10_2-512-vpdpbssd-2.c +++ b/gcc/testsuite/gcc.target/i386/avx10_2-512-vpdpbssd-2.c @@ -13,6 +13,8 @@ #define SRC_SIZE (AVX512F_LEN / 8) #define SIZE (AVX512F_LEN / 32) +#include "avx512f-mask-type.h" + static void CALC (int *r, int *dst, char *s1, char *s2) { diff --git a/gcc/testsuite/gcc.target/i386/avx10_2-vminmaxsd-2.c b/gcc/testsuite/gcc.target/i386/avx10_2-vminmaxsd-2.c index 1e2d78c..f550e09 100644 --- a/gcc/testsuite/gcc.target/i386/avx10_2-vminmaxsd-2.c +++ b/gcc/testsuite/gcc.target/i386/avx10_2-vminmaxsd-2.c @@ -8,6 +8,7 @@ #include "avx10-helper.h" #include <stdbool.h> #include "avx10-minmax-helper.h" +#include "avx512f-mask-type.h" void static CALC (double *r, double *s1, double *s2, int R) diff --git a/gcc/testsuite/gcc.target/i386/avx10_2-vminmaxsh-2.c b/gcc/testsuite/gcc.target/i386/avx10_2-vminmaxsh-2.c index e6a93c4..dbf1087 100644 --- a/gcc/testsuite/gcc.target/i386/avx10_2-vminmaxsh-2.c +++ b/gcc/testsuite/gcc.target/i386/avx10_2-vminmaxsh-2.c @@ -8,6 +8,7 @@ #include "avx10-helper.h" #include <stdbool.h> #include "avx10-minmax-helper.h" +#include "avx512f-mask-type.h" void static CALC (_Float16 *r, _Float16 *s1, _Float16 *s2, int R) diff --git a/gcc/testsuite/gcc.target/i386/avx10_2-vminmaxss-2.c b/gcc/testsuite/gcc.target/i386/avx10_2-vminmaxss-2.c index 47177e6..7baa396 100644 --- a/gcc/testsuite/gcc.target/i386/avx10_2-vminmaxss-2.c +++ b/gcc/testsuite/gcc.target/i386/avx10_2-vminmaxss-2.c @@ -8,6 +8,7 @@ #include "avx10-helper.h" #include <stdbool.h> #include "avx10-minmax-helper.h" +#include "avx512f-mask-type.h" void static CALC (float *r, float *s1, float *s2, int R) |