1 /* Test that the compiler properly optimizes vector 32-bit integer point
2 multiply and add instructions vector into pmacsdd on SSE5 systems. */
4 /* { dg-do compile } */
5 /* { dg-require-effective-target lp64 } */
6 /* { dg-options "-O2 -msse5 -ftree-vectorize" } */
8 extern void exit (int);
10 typedef long long __m128i __attribute__ ((__vector_size__ (16), __may_alias__));
24 for (i = 0; i < SIZE; i++)
25 a.i[i] = (b.i[i] * c.i[i]) + d.i[i];
34 /* { dg-final { scan-assembler "pmacsdd" } } */