[ARM] Fix test armv8_2-fp16-move-1.c
[official-gcc.git] / gcc / testsuite / gcc.target / arm / fp16-compile-alt-3.c
blobe786a51da6985dcf6b8e8d8f08e8c1b89bf11802
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 /* 0xc000 = 49152 */
7 __fp16 xx = -2.0;
9 /* { dg-final { scan-assembler "\t.size\txx, 2" } } */
10 /* { dg-final { scan-assembler "\t.short\t49152" } } */