binutils-gdb/gdb/features
Srinath Parvathaneni 5291fe3cd1 aarch64: Add support for bfloat16 in gdb.
This patch adds support for bfloat16 in AArch64 gdb.
Also adds the field "bf" to vector registers h0-h31.
Also adds the vector "bf" to h field in vector registers v0-v31.

The following is how the vector register h and v looks like.

Before this patch:
(gdb) p $h0
$1 = {f = 0, u = 0, s = 0}
(gdb) p/x $h0
$2 = {f = 0x0, u = 0x0, s = 0x0}
(gdb) p $v0.h
$3 = {f = {0, 0, 0, 0, 0, 0, 0, 0}, u = {0, 0, 0, 0, 0, 0, 0, 0}, s = {0, 0, 0, 0, 0, 0, 0, 0}}
(gdb) p/x $v0.h
$4 = {f = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, u = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
      s = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}

After this patch:
(gdb) p $h0
$1 = {bf = 0, f = 0, u = 0, s = 0}
(gdb) p/x $h0
$2 = {bf = 0x0, f = 0x0, u = 0x0, s = 0x0}
(gdb) p $v0.h
$3 = {bf = {0, 0, 0, 0, 0, 0, 0, 0}, f = {0, 0, 0, 0, 0, 0, 0, 0}, u = {0, 0, 0, 0, 0, 0, 0, 0},
      s = {0, 0, 0, 0, 0, 0, 0, 0}}
(gdb) p/x $v0.h
$4 = {bf = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, f = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
      u = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, s = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}

gdb/ChangeLog:

2021-01-12  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>

	* aarch64-tdep.c (aarch64_vnh_type): Add "bf" field in h registers.
	(aarch64_vnv_type): Add "bf" type in h field of v registers.
	* features/aarch64-fpu.c (create_feature_aarch64_fpu): Regenerated.
	* features/aarch64-fpu.xml: Add bfloat16 type.

gdb/testsuite/ChangeLog:

2021-01-12  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>

	* gdb.arch/aarch64-fp.exp: Modify to test bfloat16 support.
2021-01-12 14:03:58 +00:00
..
arc Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
arm Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
i386 Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
riscv Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
rs6000 Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
sparc Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
aarch64-core.c
aarch64-core.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
aarch64-fpu.c aarch64: Add support for bfloat16 in gdb. 2021-01-12 14:03:58 +00:00
aarch64-fpu.xml aarch64: Add support for bfloat16 in gdb. 2021-01-12 14:03:58 +00:00
aarch64-pauth.c
aarch64-pauth.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
aarch64-sve.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
btrace-conf.dtd Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
btrace.dtd Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
feature_to_c.sh Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
gdb-target.dtd Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
gdbserver-regs.xsl
library-list-aix.dtd Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
library-list-svr4.dtd Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
library-list.dtd Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
m68k-core.xml
Makefile Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
microblaze-core.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
microblaze-stack-protect.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
microblaze-with-stack-protect.c gdb: Have allocate_target_description return a unique_ptr 2020-10-08 10:14:14 +01:00
microblaze-with-stack-protect.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
microblaze.c gdb: Have allocate_target_description return a unique_ptr 2020-10-08 10:14:14 +01:00
microblaze.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mips64-cp0.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mips64-cpu.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mips64-dsp-linux.c gdb: Have allocate_target_description return a unique_ptr 2020-10-08 10:14:14 +01:00
mips64-dsp-linux.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mips64-dsp.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mips64-fpu.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mips64-linux.c gdb: Have allocate_target_description return a unique_ptr 2020-10-08 10:14:14 +01:00
mips64-linux.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mips-cp0.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mips-cpu.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mips-dsp-linux.c gdb: Have allocate_target_description return a unique_ptr 2020-10-08 10:14:14 +01:00
mips-dsp-linux.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mips-dsp.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mips-fpu.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mips-linux.c gdb: Have allocate_target_description return a unique_ptr 2020-10-08 10:14:14 +01:00
mips-linux.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
nds32-core.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
nds32-fpu.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
nds32-system.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
nds32.c gdb: Have allocate_target_description return a unique_ptr 2020-10-08 10:14:14 +01:00
nds32.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
nios2-cpu.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
nios2-linux.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
nios2.c gdb: Have allocate_target_description return a unique_ptr 2020-10-08 10:14:14 +01:00
nios2.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
number-regs.xsl
or1k-core.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
or1k.c gdb: Have allocate_target_description return a unique_ptr 2020-10-08 10:14:14 +01:00
or1k.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
osdata.dtd Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
rx.c gdb: add an option flag to 'maint print c-tdesc' 2020-11-12 09:44:00 +00:00
rx.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
s390-acr.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
s390-core32.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
s390-core64.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
s390-fpr.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
s390-gs-linux64.c gdb: Have allocate_target_description return a unique_ptr 2020-10-08 10:14:14 +01:00
s390-gs-linux64.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
s390-gs.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
s390-gsbc.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
s390-linux32.c gdb: Have allocate_target_description return a unique_ptr 2020-10-08 10:14:14 +01:00
s390-linux32.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
s390-linux32v1.c gdb: Have allocate_target_description return a unique_ptr 2020-10-08 10:14:14 +01:00
s390-linux32v1.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
s390-linux32v2.c gdb: Have allocate_target_description return a unique_ptr 2020-10-08 10:14:14 +01:00
s390-linux32v2.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
s390-linux64.c gdb: Have allocate_target_description return a unique_ptr 2020-10-08 10:14:14 +01:00
s390-linux64.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
s390-linux64v1.c gdb: Have allocate_target_description return a unique_ptr 2020-10-08 10:14:14 +01:00
s390-linux64v1.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
s390-linux64v2.c gdb: Have allocate_target_description return a unique_ptr 2020-10-08 10:14:14 +01:00
s390-linux64v2.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
s390-tdb.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
s390-te-linux64.c gdb: Have allocate_target_description return a unique_ptr 2020-10-08 10:14:14 +01:00
s390-te-linux64.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
s390-tevx-linux64.c gdb: Have allocate_target_description return a unique_ptr 2020-10-08 10:14:14 +01:00
s390-tevx-linux64.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
s390-vx-linux64.c gdb: Have allocate_target_description return a unique_ptr 2020-10-08 10:14:14 +01:00
s390-vx-linux64.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
s390-vx.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
s390x-core64.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
s390x-gs-linux64.c gdb: Have allocate_target_description return a unique_ptr 2020-10-08 10:14:14 +01:00
s390x-gs-linux64.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
s390x-linux64.c gdb: Have allocate_target_description return a unique_ptr 2020-10-08 10:14:14 +01:00
s390x-linux64.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
s390x-linux64v1.c gdb: Have allocate_target_description return a unique_ptr 2020-10-08 10:14:14 +01:00
s390x-linux64v1.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
s390x-linux64v2.c gdb: Have allocate_target_description return a unique_ptr 2020-10-08 10:14:14 +01:00
s390x-linux64v2.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
s390x-te-linux64.c gdb: Have allocate_target_description return a unique_ptr 2020-10-08 10:14:14 +01:00
s390x-te-linux64.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
s390x-tevx-linux64.c gdb: Have allocate_target_description return a unique_ptr 2020-10-08 10:14:14 +01:00
s390x-tevx-linux64.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
s390x-vx-linux64.c gdb: Have allocate_target_description return a unique_ptr 2020-10-08 10:14:14 +01:00
s390x-vx-linux64.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
sort-regs.xsl
threads.dtd Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
tic6x-c6xp.c
tic6x-c6xp.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
tic6x-c62x-linux.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
tic6x-c64x-linux.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
tic6x-c64xp-linux.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
tic6x-core.c
tic6x-core.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
tic6x-gp.c
tic6x-gp.xml Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
traceframe-info.dtd Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
xinclude.dtd Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00