aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr109052.c
blob: d4d7f9b05ca2730ff5ebd9a265436996de493fcc (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile { target { ! ia32 } } } */
/* { dg-options "-O2 -mfpmath=both -msse2" } */

double foo (double a)
{
  double tmp = a;
  asm ("" : "+t" (tmp));
  return a * tmp;
}

/* { dg-final { scan-assembler-times "movsd\t" 1 } } */