https://gcc.gnu.org/g:2b7b8d3bb52a23aa8b1d6e9a2d57c83db2078f73

commit r15-3700-g2b7b8d3bb52a23aa8b1d6e9a2d57c83db2078f73
Author: Haochen Jiang <haochen.ji...@intel.com>
Date:   Sat Sep 14 15:55:53 2024 +0800

    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.

Diff:
---
 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(+)

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 add9de893511..624a1a8e50ea 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 1e2d78c4068d..f550e09be6c9 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 e6a93c403b50..dbf1087d9c3b 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 47177e696409..7baa396a2d3f 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)

Reply via email to