[AArch64] Handle HFA and HVA together
authorYao Qi <yao.qi@linaro.org>
Fri, 27 Nov 2015 14:50:30 +0000 (14:50 +0000)
committerYao Qi <yao.qi@linaro.org>
Fri, 27 Nov 2015 14:50:30 +0000 (14:50 +0000)
commitcd635f74a3b71043d35501db31b3acac956018cd
tree266da11fe5222e4aa1df4c51061340ee39169310
parent238f2452e6d94f7b227a9d132f5ae887299d96c6
[AArch64] Handle HFA and HVA together

AArch64 AAPCS defined HFA (homogeneous floating-point aggregate)
and HVF (homogeneous short vector aggregate), bug GDB only handles the
former.  In the AAPCS doc, both types are treated exactly the same
in terms of alignment and passing locations (on registers or stack).
This patch is to extend is_hfa to handle both HFA and HVA.

gdb:

2015-11-27  Yao Qi  <yao.qi@linaro.org>

* aarch64-tdep.c (is_hfa): Rename to ...
(is_hfa_or_hva): ... this.  Handle vector type.  All callers
updated.
(aarch64_extract_return_value): Update debugging message.
(aarch64_store_return_value): Likewise.
(aarch64_return_in_memory): Update comments.
gdb/ChangeLog
gdb/aarch64-tdep.c
This page took 0.025057 seconds and 4 git commands to generate.