]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
i386: Add missing avx512f-mask-type.h include
authorHaochen Jiang <haochen.jiang@intel.com>
Sat, 14 Sep 2024 07:55:53 +0000 (15:55 +0800)
committerHaochen Jiang <haochen.jiang@intel.com>
Thu, 19 Sep 2024 06:10:28 +0000 (14:10 +0800)
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
gcc/testsuite/gcc.target/i386/avx10_2-vminmaxsd-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vminmaxsh-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vminmaxss-2.c

index add9de89351128d580696f67c50b1b43f5ed51c3..624a1a8e50ea29974e2c2e0f649131e6d323471a 100644 (file)
@@ -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)
 {
index 1e2d78c4068da93251676e7448ab17b40b9ae57a..f550e09be6c93cb25f74c8c91c7bc23b723f41b0 100644 (file)
@@ -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)
index e6a93c403b5006e0b8397458f1d9f9d2e5c00ec2..dbf1087d9c3bacf5fed0027083fad649bf0d735b 100644 (file)
@@ -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)
index 47177e696409c684d1add9a48f343cac5f1e7fb1..7baa396a2d3fc9f223fd053099181fd1c794ac01 100644 (file)
@@ -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)