[PATCH] floatformat.h: Add bfloat16 support.

2020-08-17 Thread Felix Willgerodt via Gcc-patches
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 * floatformat.h (floatformat_bfloat1

[PATCH v2 1/2] i386-tdep: Fix naming in zmm and ymm type descriptions.

2020-07-24 Thread Felix Willgerodt via Gcc-patches
gdb/Changelog: 2020-07-02 Felix Willgerodt * i386-tdep.c (i386_zmm_type): Fix field names. (i386_ymm_type): Fix field names. --- gdb/i386-tdep.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c

[PATCH v2 0/2] avx512 bfloat16 support

2020-07-24 Thread Felix Willgerodt via Gcc-patches
V1 of this series can be found here: https://sourceware.org/pipermail/gdb-patches/2020-July/170649.html v2 addresses all comments from Kevin Buettner and Luis Machado in Patch2. This is sent to the gcc-patches mailing list to review the changes in include/ and libiberty/. Regards, Felix Felix Wi

[PATCH v2 2/2] Add bfloat16 support for AVX512 register view.

2020-07-24 Thread Felix Willgerodt via Gcc-patches
This adds support for the bfloat16 datatype, which can be seen as a short version of FP32, skipping the least significant 16 bits of the mantissa. Since the datatype is currently only supported by the AVX512 registers, the printing of bfloat16 values is only supported for xmm, ymm and zmm registers