[ARM] Fix test armv8_2-fp16-move-1.c
[official-gcc.git] / gcc / testsuite / gcc.target / arm / fp16-compile-alt-8.c
blobdeeb5cd557423874f24702494b37d3ecfca27eaf
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_fp16_alternative_ok } */
3 /* { dg-options "-mfp16-format=alternative" } */
5 /* Encoding taken from: http://en.wikipedia.org/wiki/Half_precision */
6 /* This is the minimum normalized value. */
7 /* 0x0400 = 1024 */
8 __fp16 xx = 6.10352E-5;
10 /* { dg-final { scan-assembler "\t.size\txx, 2" } } */
11 /* { dg-final { scan-assembler "\t.short\t1024" } } */