diff options
author | Matthew Malcomson <matthew.malcomson@arm.com> | 2019-11-07 17:01:04 +0000 |
---|---|---|
committer | Matthew Malcomson <matthew.malcomson@arm.com> | 2019-11-07 17:01:04 +0000 |
commit | c96f148b7bcaad8b6f1191faafbcd6c8cfdee7a3 (patch) | |
tree | 46fe9cbb482a2d65e88967230a0587ac0d8e92a6 /gas/as.h | |
parent | aab2c27d9f01d667f1b3356fbca2d931bfa6c599 (diff) | |
download | gdb-c96f148b7bcaad8b6f1191faafbcd6c8cfdee7a3.zip gdb-c96f148b7bcaad8b6f1191faafbcd6c8cfdee7a3.tar.gz gdb-c96f148b7bcaad8b6f1191faafbcd6c8cfdee7a3.tar.bz2 |
[Patch][binutils] Generic support for parsing numbers in bfloat16 format [5/X]
Hi,
This patch is part of a series that adds support for Armv8.6-A
(Matrix Multiply and BFloat16 extensions).
This patch contains some general refactoring of the atof_ieee
function, exposing a function that allows a higher level of control
over the format of IEEE-like floating point numbers.
This has been done in order to be able to add a directive for assembling
floating point literals in the bfloat16 format in the following patches.
Committed on behalf of Mihail Ionescu.
Tested on arm-none-eabi, arm-none-linux-gnueabihf, aarch64-none-elf
and aarch64-none-linux-gnuwith no issues.
gas/ChangeLog:
2019-10-21 Mihail Ionescu <mihail.ionescu@arm.com>
2019-10-21 Barnaby Wilks <barnaby.wilks@arm.com>
* as.h (atof_ieee_detail): Add prototype for atof_ieee_detail function.
(atof_ieee): Move some code into the atof_ieee_detail function.
(atof_ieee_detail): Add function that provides a higher level of control over generating
IEEE-like numbers.
Is it ok for trunk?
Regards,
Mihail
Diffstat (limited to 'gas/as.h')
-rw-r--r-- | gas/as.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -484,6 +484,7 @@ char * app_push (void); #define MAX_LITTLENUMS 6 char * atof_ieee (char *, int, LITTLENUM_TYPE *); +char * atof_ieee_detail (char *, int, int, LITTLENUM_TYPE *, FLONUM_TYPE *); const char * ieee_md_atof (int, char *, int *, bfd_boolean); const char * vax_md_atof (int, char *, int *); char * input_scrub_include_file (const char *, char *); |