AArch64: add support for DFP (Decimal Floating point)
authorChristophe Lyon <christophe.lyon@arm.com>
Wed, 27 Apr 2022 15:29:32 +0000 (16:29 +0100)
committerChristophe Lyon <christophe.lyon@arm.com>
Tue, 24 May 2022 09:47:29 +0000 (10:47 +0100)
commit81657e580045026b3a79f3a8db6fac5e7e5dad66
tree936f57875fc1162e3eeb5c90548e85913ad873fd
parenta55dfbb9abeda5255f002ae4445d9c390c3f6025
AArch64: add support for DFP (Decimal Floating point)

This small patch adds support for TYPE_CODE_DECFLOAT in
aapcs_is_vfp_call_or_return_candidate_1 and pass_in_v_vfp_candidate,
so that GDB for AArch64 knows how to pass DFP parameters and how to
read DFP results when calling a function.

Tested on aarch64-linux-gnu, with a GCC with DFP support in the PATH,
all of GDB's DFP tests pass.
gdb/aarch64-tdep.c