2018-02-09 Sebastian Perta <sebastian.perta@renesas.com>
[official-gcc.git] / gcc / testsuite / gcc.target / arm / fp16-compile-alt-4.c
blobcfeb61aaea74cf24fb0d2afc396df843e07020e9
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 /* 0x7bff = 31743 */
7 __fp16 xx = 65504.0;
9 /* { dg-final { scan-assembler "\t.size\txx, 2" } } */
10 /* { dg-final { scan-assembler "\t.short\t31743" } } */