aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/powerpc/pr97786-8.c
blob: eba90d3b1b7fc6ca7a8ecabf7e18034ab1667ea8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */
/* { dg-require-effective-target ppc_float128_hw } */
/* { dg-options "-O2 -mdejagnu-cpu=power9 -mabi=ieeelongdouble -Wno-psabi" } */
/* { dg-require-effective-target powerpc_vsx } */

int test1 (long double x)
{
  return __builtin_isnormal (x);
}

/* { dg-final { scan-assembler-not {\mxscmpuqp\M} } } */
/* { dg-final { scan-assembler {\mxststdcqp\M} } } */