aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/s390/zvector/pr82463.c
blob: 5014ed61ad94f06d4a8ce3a0ad47c21e33fbfdb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);
}