Add test for AArch64 Scalable Vector Extension
authorThiago Jung Bauermann <thiago.bauermann@linaro.org>
Thu, 18 Aug 2022 12:43:32 +0000 (13:43 +0100)
committerLuis Machado <luis.machado@arm.com>
Thu, 18 Aug 2022 13:46:50 +0000 (14:46 +0100)
commita960d5f9f4d88606af1bd4489ac1d66bf5b63af2
tree8e84e8e38f598f0a05295cc496d423d5249eb275
parent4f3681cc336158fbbbf3333a38eb9f324fdb9bf5
Add test for AArch64 Scalable Vector Extension

It exercises a bug that GDB previously had where it would lose track of
some registers when the inferior changed its vector length.

It also checks that the vg register and the size of the z0-z31 registers
correctly reflect the new vector length.
gdb/testsuite/gdb.arch/aarch64-sve.c [new file with mode: 0644]
gdb/testsuite/gdb.arch/aarch64-sve.exp [new file with mode: 0644]
gdb/testsuite/lib/gdb.exp
gdb/testsuite/lib/mi-support.exp