x86: introduce .hfloat directive
authorJan Beulich <jbeulich@suse.com>
Wed, 11 Aug 2021 06:32:54 +0000 (08:32 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 11 Aug 2021 06:32:54 +0000 (08:32 +0200)
commit7d19d096292acac01d0fde4d99c3e49d69688e03
tree5b691ba4679786fb0e8aae2a4e328e2e601b91b6
parent8f2200fe8e7f17295ed6d9bbc908da533c95e089
x86: introduce .hfloat directive

This is to be able to generate data passed to {,V}CVTPH2PS and acted
upon by AVX512-FP16 insns. To be able to also use the hex forms
supported for other floating point formats, a small addition to the
generic hex_float() is needed.

Extend existing x86 testcases.
gas/config/tc-i386.c
gas/doc/c-i386.texi
gas/read.c
gas/testsuite/gas/i386/fp-elf32.d
gas/testsuite/gas/i386/fp-elf64.d
gas/testsuite/gas/i386/fp.d
gas/testsuite/gas/i386/fp.s