Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/vect/vect-reduc-6.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 /* { dg-require-effective-target vect_float } */ | 1 /* { dg-require-effective-target vect_float_strict } */ |
2 /* { dg-additional-options "-fno-fast-math" } */ | |
2 | 3 |
3 #include <stdarg.h> | 4 #include <stdarg.h> |
4 #include "tree-vect.h" | 5 #include "tree-vect.h" |
5 | 6 |
6 #define N 16 | 7 #define N 16 |
46 main1 (100 ,100); | 47 main1 (100 ,100); |
47 main1 (0, 15); | 48 main1 (0, 15); |
48 return 0; | 49 return 0; |
49 } | 50 } |
50 | 51 |
51 /* need -ffast-math to vectorizer these loops. */ | 52 /* { dg-final { scan-tree-dump-times {using an in-order \(fold-left\) reduction} 1 "vect" } } */ |
52 /* ARM NEON passes -ffast-math to these tests, so expect this to fail. */ | 53 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ |
53 /* { dg-final { scan-tree-dump-times "vectorized 0 loops" 1 "vect" { xfail arm_neon_ok } } } */ |