]> gcc.gnu.org Git - gcc.git/commitdiff
i386: Fix recent testcase fail
authorHaochen Jiang <haochen.jiang@intel.com>
Mon, 8 Jan 2024 08:36:38 +0000 (16:36 +0800)
committerHaochen Jiang <haochen.jiang@intel.com>
Tue, 9 Jan 2024 05:47:51 +0000 (13:47 +0800)
After commit 01f4251b8775c832a92d55e2df57c9ac72eaceef, early break
vectorization is supported. The two testcases need to be fixed.

gcc/testsuite/ChangeLog:

* gcc.target/i386/avx512fp16-xorsign-1.c: Fix testcase.
* gcc.target/i386/part-vect-absneghf.c: Ditto.

gcc/testsuite/gcc.target/i386/avx512fp16-xorsign-1.c
gcc/testsuite/gcc.target/i386/part-vect-absneghf.c

index a22a6ceabffaea1901595d6adc34355a7364ad18..f5dd457c9ebc5d6f91ca80073fe705bf06d3c0f7 100644 (file)
@@ -35,7 +35,7 @@ do_test (void)
       abort ();
 }
 
-/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
+/* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" } } */
 /* { dg-final { scan-assembler "\[ \t\]xor" } } */
 /* { dg-final { scan-assembler "\[ \t\]and" } } */
 /* { dg-final { scan-assembler-not "copysign" } } */
index 48aed14d60419cf45b3d52e93f81dda471a73862..713f0bff4dd8c1788522c8a63a6a030c0114c6dd 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do run { target avx512fp16 } } */
-/* { dg-options "-O1 -mavx512fp16 -mavx512vl -ftree-vectorize -fdump-tree-slp-details -fdump-tree-optimized" } */
+/* { dg-options "-O1 -mavx512fp16 -mavx512vl -fdump-tree-slp-details -fdump-tree-optimized" } */
 
 extern void abort ();
 
This page took 0.143453 seconds and 5 git commands to generate.