gdb/aarch64: Add named flags for FPCR and FPSR registers
authorPrzemyslaw Wirkus <przemyslaw.wirkus@arm.com>
Thu, 26 Nov 2020 12:09:01 +0000 (12:09 +0000)
committerPrzemyslaw Wirkus <przemyslaw.wirkus@arm.com>
Thu, 26 Nov 2020 12:11:14 +0000 (12:11 +0000)
commit239ca5e497dda2c151009d664d500086a5c2173a
tree8ca34ede4d986a81de09cb4e8a77303a3e54b87a
parent9ed0136bff648c2f32d7462d3ab9205b61778837
gdb/aarch64: Add named flags for FPCR and FPSR registers

This patch updates FPCR (Floating-point Control Register) and FPSR
(Floating-point Status Register) named fields in AArch64. For detailed
description of named register FPCR and FPSR bit fields see [1] and [2].

Please not that bit fields FIZ, AH and NEP (bits 0, 1 and 2 respectively) in
FPCR are defined starting from Armv8.7 architecture.

[1]: https://developer.arm.com/docs/ddi0595/i/aarch64-system-registers/fpcr
[2]: https://developer.arm.com/docs/ddi0595/i/aarch64-system-registers/fpsr

Example:
>>> info all-registers fpsr
fpsr           0x10                [ IXC ]
>>> info all-registers fpcr
fpcr           0x0                 [ RMode=0 ]
gdb/ChangeLog
gdb/features/aarch64-fpu.c
gdb/features/aarch64-fpu.xml