PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / arm / fp16-compile-alt-5.c
blob3b741ae62dcd4ac9a79810f15a325749e37b57eb
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 /* 0x3555 = 13653 */
7 __fp16 xx = (1.0/3.0);
9 /* { dg-final { scan-assembler "\t.size\txx, 2" } } */
10 /* { dg-final { scan-assembler "\t.short\t13653" } } */