1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mfma" } */
3 
4 #include <emmintrin.h>
5 
myfma(__m128d x,__m128d y,__m128d z)6 __m128d myfma(__m128d x, __m128d y, __m128d z){
7   __m128d m = _mm_mul_pd (x, y);
8   return _mm_add_pd (m, z);
9 }
10 
11 /* { dg-final { scan-assembler "vfmadd" } } */
12