Skip to content

Commit 1c450dc

Browse files
committed
RISC-V: Add reference to Zve32*
Before actual vlen handling, this commit fixes its description to allow vlen less than 16 (but 4 or greater), to support vector subset extensions for embedded environment ('Zve32*').
1 parent 2db20b9 commit 1c450dc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

gdb/arch/riscv.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,10 @@ struct riscv_gdbarch_features
4747
int flen = 0;
4848

4949
/* The size of the v-registers in bytes. The value 0 indicates a target
50-
with no vector registers. The minimum value for a standard compliant
51-
target should be 16, but GDB doesn't currently mind, and will accept
52-
any vector size. */
50+
with no vector registers. The minimum value for a 'V'-extension compliant
51+
target should be 16 and 4 for an embedded subset compliant target (with
52+
'Zve32*' extension), but GDB doesn't currently mind, and will accept any
53+
vector size. */
5354
int vlen = 0;
5455

5556
/* When true this target is RV32E. */

0 commit comments

Comments
 (0)