diff options
author | Barnaby Wilks <barnaby.wilks@arm.com> | 2019-08-22 11:13:23 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2019-08-22 11:13:23 +0100 |
commit | b20d385926d84f7daa8cd7c54f748f3d6a81bfc6 (patch) | |
tree | b1c5502cd2b83ecc951d43912a012fbca3aa1276 /ld/testsuite | |
parent | a051e2f3e0c1cedf4be0e1fedcd383fd203c769c (diff) | |
download | gdb-b20d385926d84f7daa8cd7c54f748f3d6a81bfc6.zip gdb-b20d385926d84f7daa8cd7c54f748f3d6a81bfc6.tar.gz gdb-b20d385926d84f7daa8cd7c54f748f3d6a81bfc6.tar.bz2 |
Implement a float16 directive for assembling 16 bit IEEE 754 floating point numbers for the AArch64 assembler.
The syntax of the directive is:
.float16 <0-n decimal numbers>
e.g.
.float16 0.5
.float16 10.2, NaN, 452.09
The floats will always be encoded using the binary16 format as described in the
IEEE 754-2008 standard. There is no need to support Arm's alternative half-precision
format since AArch64 only supports the IEEE format.
gas * config/tc-aarch64.c: Add float16 directive and add "Hh" to
acceptable float characters.
* doc/c-aarch64.texi: Documentation for float16 directive.
* testsuite/gas/aarch64/float16-be.d: New test.
* testsuite/gas/aarch64/float16-le.d: New test.
* testsuite/gas/aarch64/float16.s: New test.
* NEWS: Add NEWS entry.
Diffstat (limited to 'ld/testsuite')
0 files changed, 0 insertions, 0 deletions