aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAlan Hayward <alan.hayward@arm.com>2018-08-22 09:22:12 +0100
committerAlan Hayward <alan.hayward@arm.com>2018-08-22 09:40:37 +0100
commit9758a8f84b245f42cfa85be7a65b0728eabca491 (patch)
tree2a28c6dc633968ada39e8ff878ec51d75a41d3f2 /gdb
parent1461bdac5c1034467d7095b6d109689e02d03987 (diff)
downloadgdb-9758a8f84b245f42cfa85be7a65b0728eabca491.zip
gdb-9758a8f84b245f42cfa85be7a65b0728eabca491.tar.gz
gdb-9758a8f84b245f42cfa85be7a65b0728eabca491.tar.bz2
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/arch/aarch64.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index cfb0751..070547f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
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.
2018-08-21 Pedro Alves <palves@redhat.com>
diff --git a/gdb/arch/aarch64.h b/gdb/arch/aarch64.h
index e344a36..d6b88e6 100644
--- a/gdb/arch/aarch64.h
+++ b/gdb/arch/aarch64.h
@@ -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)