summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr47809.c
blob: 5832a65d8d8fc4f0a07dbaaff6ef304457d4fee4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* PR c/47809 */
/* { dg-do compile } */
/* { dg-options "-O2 -msse2" } */

#include <emmintrin.h>
double bar (double, double);

__m128d
foo (__m128d x)
{
  x *= (__m128d) { bar (1.0, 1.0), 0.0 };
  return (__m128d) ((__m128i) x ^ (__m128i) { 0, 0});
}