summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/aarch64/fmovd-zero.c
blob: 7e4590afe61e36faa917ce9b64b8be558db93821 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-options "-O2" } */

void
foo (double *output)
{
  *output = 0.0;
}

/* { dg-final { scan-assembler "fmov\\td\[0-9\]+, xzr" } } */