Aarch64 SVE VG is Vector Granule

...not Vector Gradient.

See: DWARF for the ARM® 64-bit Architecture (AArch64) with SVE support

gdb/
	* arch/aarch64.h (aarch64_regnum): Update comment.
This commit is contained in:
Alan Hayward 2018-08-22 09:22:12 +01:00
parent 1461bdac5c
commit 9758a8f84b
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2018-08-21 Alan Hayward <alan.hayward@arm.com>
* arch/aarch64.h (aarch64_regnum): Update comment.
2018-08-21 Alan Hayward <alan.hayward@arm.com>
* NEWS: Add SVE to 8.2 section.

View File

@ -49,7 +49,7 @@ enum aarch64_regnum
AARCH64_SVE_P15_REGNUM = AARCH64_SVE_P0_REGNUM + 15, /* Last SVE predicate
register. */
AARCH64_SVE_FFR_REGNUM, /* SVE First Fault Register. */
AARCH64_SVE_VG_REGNUM, /* SVE Vector Gradient. */
AARCH64_SVE_VG_REGNUM, /* SVE Vector Granule. */
/* Other useful registers. */
AARCH64_LAST_X_ARG_REGNUM = AARCH64_X0_REGNUM + 7,
@ -71,7 +71,7 @@ enum aarch64_regnum
The number of bytes in an SVE Z register.
VQ : Vector Quotient.
The number of 128bit chunks in an SVE Z register.
VG : Vector Gradient.
VG : Vector Granule.
The number of 64bit chunks in an SVE Z register. */
#define sve_vg_from_vl(vl) ((vl) / 8)