Add SVE register defines
authorAlan Hayward <alan.hayward@arm.com>
Fri, 1 Jun 2018 15:02:37 +0000 (16:02 +0100)
committerAlan Hayward <alan.hayward@arm.com>
Fri, 1 Jun 2018 15:35:18 +0000 (16:35 +0100)
commit739e8682ff1cffc2809c91853efeef232d29e582
treebc11c803c5d43c2c0bdaeab1413fd45a31c0c7e9
parent3a00b02d277023ccfc5ccba3fcd4bae7aa485a49
Add SVE register defines

In order to prevent gaps in the register numbering, the Z registers
reuse the V register numbers (which become pseudos on SVE).

2018-06-01  Alan Hayward  <alan.hayward@arm.com>

* aarch64-tdep.c (aarch64_sve_register_names): New const
var.
* arch/aarch64.h (enum aarch64_regnum): Add SVE entries.
(AARCH64_SVE_Z_REGS_NUM): New define.
(AARCH64_SVE_P_REGS_NUM): Likewise.
(AARCH64_SVE_NUM_REGS): Likewise.
gdb/ChangeLog
gdb/aarch64-tdep.c
gdb/arch/aarch64.h