From 2b7b8d3bb52a23aa8b1d6e9a2d57c83db2078f73 Mon Sep 17 00:00:00 2001 From: Haochen Jiang Date: Sat, 14 Sep 2024 15:55:53 +0800 Subject: 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. --- gcc/testsuite/gcc.target/i386/avx10_2-512-vpdpbssd-2.c | 2 ++ gcc/testsuite/gcc.target/i386/avx10_2-vminmaxsd-2.c | 1 + gcc/testsuite/gcc.target/i386/avx10_2-vminmaxsh-2.c | 1 + gcc/testsuite/gcc.target/i386/avx10_2-vminmaxss-2.c | 1 + 4 files changed, 5 insertions(+) (limited to 'gcc') 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 #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 #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 #include "avx10-minmax-helper.h" +#include "avx512f-mask-type.h" void static CALC (float *r, float *s1, float *s2, int R) -- cgit v1.1