1 /* { dg-do compile } */ 2 /* { dg-options "-O -ffast-math -msse2" } */ 3 4 #include <emmintrin.h> 5 f(__m128d x,__m128d y,__m128d z)6__m128d f(__m128d x, __m128d y, __m128d z){ 7 y = _mm_add_pd (x, y); 8 y = _mm_add_pd (z, y); 9 return _mm_sub_pd (y, x); 10 } 11 12 /* { dg-final { scan-assembler-not "subpd" } } */ 13