AArch64: Add half float view to V registers
authorAlan Hayward <alan.hayward@arm.com>
Tue, 14 May 2019 09:09:05 +0000 (10:09 +0100)
committerAlan Hayward <alan.hayward@arm.com>
Tue, 14 May 2019 09:10:56 +0000 (10:10 +0100)
commita6d0f2490c0c7969eb60038f01c0ee0f46e4d5fd
tree691f94788a913e65c545a9cedff6dc2082c2ec10
parent2764128dee821448ba43a50ed8cee387f2ee8dca
AArch64: Add half float view to V registers

AArch64 can fill the vector registers with half precision floats.
Add a view for this.

Add builtin type ieee half and connect this to the existing
floatformats_ieee_half.

gdb/ChangeLog:

2019-05-14  Alan Hayward  <alan.hayward@arm.com>

* aarch64-tdep.c (aarch64_vnh_type): Add half view.
(aarch64_vnv_type): Likewise.
* target-descriptions.c (make_gdb_type): Add TDESC_TYPE_IEEE_HALF.
* common/tdesc.c: Likewise.
* common/tdesc.h (enum tdesc_type_kind): Likewise.
* features/aarch64-fpu.c (create_feature_aarch64_fpu): Regenerate.
* features/aarch64-fpu.xml: Add ieee half view.
* features/aarch64-sve.c (create_feature_aarch64_fpu): Likewise.
* gdbtypes.c (gdbtypes_post_init): Add builtin_half
* gdbtypes.h (struct builtin_type): Likewise.
(struct objfile_type): Likewise.
gdb/ChangeLog
gdb/aarch64-tdep.c
gdb/common/tdesc.c
gdb/common/tdesc.h
gdb/features/aarch64-fpu.c
gdb/features/aarch64-fpu.xml
gdb/features/aarch64-sve.c
gdb/gdbtypes.c
gdb/gdbtypes.h
gdb/target-descriptions.c