aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr67985-2.c
blob: a45815af66e0027cf97fa6cb4bb9887d271622fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile { target ia32 } } */
/* { dg-options "-O2 -miamcu -msse2 -mfpmath=sse -mtune=generic" } */

float
__attribute__((target("arch=lakemont")))
foo (float x, float y)
{
  return x * y;
}

/* { dg-final { scan-assembler-not "mulss" } } */
/* { dg-final { scan-assembler-not "movl\[ \t\].*, %eax" } } */
/* { dg-final { scan-assembler "call\[ \t\]_?__mulsf3" } } */