summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFelix Willgerodt <felix.willgerodt@intel.com>2020-08-17 13:36:49 +0200
committerJoseph Myers <joseph@codesourcery.com>2020-09-08 17:38:12 +0000
commit87603e565615db055f7f60db0c9888f71d233826 (patch)
treee192a2eebf77e81a0245d5f82755ac42946bf041 /include
parent34d926dba097c4965917d09a3eedec11242c5457 (diff)
floatformat.h: Add bfloat16 support.
This change is motivated by a patchset that adds bfloat16 debugging support for new avx512 instructions to GDB. The gdb thread can be found here: https://sourceware.org/pipermail/gdb-patches/2020-July/170820.html include: 2020-08-17 Felix Willgerodt <felix.willgerodt@intel.com> * floatformat.h (floatformat_bfloat16_big): New. (floatformat_bfloat16_little): New. libiberty: 2020-08-17 Felix Willgerodt <felix.willgerodt@intel.com> * floatformat.c (floatformat_bfloat16_big): New. (floatformat_bfloat16_little): New.
Diffstat (limited to 'include')
-rw-r--r--include/floatformat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/floatformat.h b/include/floatformat.h
index ce8d6d4add8..630fade0449 100644
--- a/include/floatformat.h
+++ b/include/floatformat.h
@@ -133,6 +133,9 @@ extern const struct floatformat floatformat_ia64_quad_little;
/* IBM long double (double+double). */
extern const struct floatformat floatformat_ibm_long_double_big;
extern const struct floatformat floatformat_ibm_long_double_little;
+/* bfloat16. */
+extern const struct floatformat floatformat_bfloat16_big;
+extern const struct floatformat floatformat_bfloat16_little;
/* Convert from FMT to a double.
FROM is the address of the extended float.