PR rtl-optimization/87918
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx512-binop-4.h
blob4cf408887e290e128dc159693d857ddd55f4e1e5
1 #include <immintrin.h>
3 #define PASTER2(x,y) x##y
4 #define PASTER3(x,y,z) _mm##x##_##y##_##z
5 #define OP(vec, op, suffix) PASTER3 (vec, op, suffix)
6 #define DUP(vec, suffix, val) PASTER3 (vec, set1, suffix) (val)
8 type
9 foo (type x, SCALAR f)
11 return OP (vec, op, suffix) (DUP (vec, suffix, f), x);