mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 12:03:41 +08:00
2a67f09db1
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. gdb/ChangeLog: 2020-09-11 Moritz Riesterer <moritz.riesterer@intel.com> Felix Willgerodt <Felix.Willgerodt@intel.com> * gdbarch.sh: Added bfloat16 type. * gdbarch.c: Regenerated. * gdbarch.h: Regenerated. * gdbtypes.c (floatformats_bfloat16): New struct. (gdbtypes_post_init): Add builtin_bfloat16. * gdbtypes.h (struct builtin_type) <builtin_bfloat16>: New member. (floatformats_bfloat16): New struct. * i386-tdep.c (i386_zmm_type): Add field "v32_bfloat16" (i386_ymm_type): Add field "v16_bfloat16" (i386_gdbarch_init): Add set_gdbarch_bfloat16_format. * target-descriptions.c (make_gdb_type): Add case TDESC_TYPE_BFLOAT16. * gdbsupport/tdesc.cc (tdesc_predefined_types): New member bfloat16. * gdbsupport/tdesc.h (tdesc_type_kind): New member TDESC_TYPE_BFLOAT16. * features/i386/64bit-avx512.xml: Add bfloat16 type. * features/i386/64bit-avx512.c: Regenerated. * features/i386/64bit-sse.xml: Add bfloat16 type. * features/i386/64bit-sse.c: Regenerated. gdb/testsuite/ChangeLog: 2020-09-11 Moritz Riesterer <moritz.riesterer@intel.com> Felix Willgerodt <Felix.Willgerodt@intel.com> * x86-avx512bf16.c: New file. * x86-avx512bf16.exp: Likewise. * lib/gdb.exp (skip_avx512bf16_tests): New function. |
||
---|---|---|
.. | ||
.dir-locals.el | ||
.gitattributes | ||
acinclude.m4 | ||
aclocal.m4 | ||
agent.cc | ||
agent.h | ||
alt-stack.h | ||
array-view.h | ||
ax.def | ||
block-signals.h | ||
break-common.h | ||
btrace-common.cc | ||
btrace-common.h | ||
buffer.cc | ||
buffer.h | ||
byte-vector.h | ||
ChangeLog | ||
check-defines.el | ||
cleanups.cc | ||
cleanups.h | ||
common-debug.cc | ||
common-debug.h | ||
common-defs.h | ||
common-exceptions.cc | ||
common-exceptions.h | ||
common-gdbthread.h | ||
common-inferior.cc | ||
common-inferior.h | ||
common-regcache.cc | ||
common-regcache.h | ||
common-types.h | ||
common-utils.cc | ||
common-utils.h | ||
common.m4 | ||
config.in | ||
configure | ||
configure.ac | ||
create-version.sh | ||
def-vector.h | ||
default-init-alloc.h | ||
eintr.h | ||
enum-flags.h | ||
environ.cc | ||
environ.h | ||
errors.cc | ||
errors.h | ||
event-loop.cc | ||
event-loop.h | ||
fileio.cc | ||
fileio.h | ||
filestuff.cc | ||
filestuff.h | ||
filtered-iterator.h | ||
format.cc | ||
format.h | ||
forward-scope-exit.h | ||
function-view.h | ||
gdb_assert.h | ||
gdb_binary_search.h | ||
gdb_locale.h | ||
gdb_optional.h | ||
gdb_proc_service.h | ||
gdb_ref_ptr.h | ||
gdb_select.h | ||
gdb_setjmp.h | ||
gdb_signals.h | ||
gdb_splay_tree.h | ||
gdb_string_view.h | ||
gdb_string_view.tcc | ||
gdb_sys_time.h | ||
gdb_tilde_expand.cc | ||
gdb_tilde_expand.h | ||
gdb_unique_ptr.h | ||
gdb_unlinker.h | ||
gdb_vecs.cc | ||
gdb_vecs.h | ||
gdb_wait.cc | ||
gdb_wait.h | ||
gdb-dlfcn.cc | ||
gdb-dlfcn.h | ||
gdb-safe-ctype.h | ||
gdb-sigmask.h | ||
hash_enum.h | ||
host-defs.h | ||
job-control.cc | ||
job-control.h | ||
Makefile.am | ||
Makefile.in | ||
netstuff.cc | ||
netstuff.h | ||
new-op.cc | ||
next-iterator.h | ||
observable.h | ||
offset-type.h | ||
parallel-for.h | ||
pathstuff.cc | ||
pathstuff.h | ||
poison.h | ||
preprocessor.h | ||
print-utils.cc | ||
print-utils.h | ||
ptid.cc | ||
ptid.h | ||
README | ||
refcounted-object.h | ||
rsp-low.cc | ||
rsp-low.h | ||
run-time-clock.cc | ||
run-time-clock.h | ||
safe-iterator.h | ||
safe-strerror.cc | ||
scope-exit.h | ||
scoped_fd.h | ||
scoped_mmap.cc | ||
scoped_mmap.h | ||
scoped_restore.h | ||
selftest.cc | ||
selftest.h | ||
selftest.m4 | ||
signals-state-save-restore.cc | ||
signals-state-save-restore.h | ||
signals.cc | ||
symbol.h | ||
tdesc.cc | ||
tdesc.h | ||
thread-pool.cc | ||
thread-pool.h | ||
traits.h | ||
underlying.h | ||
valid-expr.h | ||
version.h | ||
warning.m4 | ||
x86-xstate.h | ||
xml-utils.cc | ||
xml-utils.h |
This is a helper library that is used by gdb and gdbserver. To send patches, follow the gdb patch submission instructions in ../gdb/CONTRIBUTE. For maintainers, see ../gdb/MAINTAINERS.