aboutsummaryrefslogtreecommitdiff
path: root/gas/as.h
diff options
context:
space:
mode:
authorMatthew Malcomson <matthew.malcomson@arm.com>2019-11-07 17:01:04 +0000
committerMatthew Malcomson <matthew.malcomson@arm.com>2019-11-07 17:01:04 +0000
commitc96f148b7bcaad8b6f1191faafbcd6c8cfdee7a3 (patch)
tree46fe9cbb482a2d65e88967230a0587ac0d8e92a6 /gas/as.h
parentaab2c27d9f01d667f1b3356fbca2d931bfa6c599 (diff)
downloadgdb-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/as.h b/gas/as.h
index 5b604a4..d996697 100644
--- a/gas/as.h
+++ b/gas/as.h
@@ -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 *);