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

void
foo (float *output)
{
  *output = 4.25;
}

/* { dg-final { scan-assembler "fmov\\ts\[0-9\]+, 4\\.25" } } */