aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/pr49715-2.c
blob: 76d713790b6533b767eaf97bfcce03c7d381769b (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile { target { ! ia32 } } } */
/* { dg-options "-O2" } */

double func(unsigned long long x)
{
  if (x <= 0x7ffffffffffffffeULL)
    return (x + 1) * 0.01;
  return 0.0;
}

/* { dg-final { scan-assembler-times "cvtsi2sdq" 1 } } */