diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/s390/zvector/pr82463.c')
-rw-r--r-- | gcc/testsuite/gcc.target/s390/zvector/pr82463.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/s390/zvector/pr82463.c b/gcc/testsuite/gcc.target/s390/zvector/pr82463.c new file mode 100644 index 00000000000..5014ed61ad9 --- /dev/null +++ b/gcc/testsuite/gcc.target/s390/zvector/pr82463.c @@ -0,0 +1,14 @@ +/* { dg-do compile { target { s390*-*-* } } } */ +/* { dg-options "-march=z14 -mzarch -mzvector" } */ + +/* The builtin was not correctly defined in the vecintrin.h header + file. */ + +#include <vecintrin.h> + +typedef __vector float v4sf; + +v4sf +foo (v4sf a, v4sf b, v4sf c) { + return vec_madd(a, b, c); +} |