diff options
author | Tsukasa OI <research_trasio@irq.a4lg.com> | 2023-08-11 03:09:58 +0000 |
---|---|---|
committer | Tsukasa OI <research_trasio@irq.a4lg.com> | 2023-08-11 13:27:51 +0000 |
commit | 1c450dc2e7626eb7643e5a370b4d5fe3b10f34ed (patch) | |
tree | 082a3a5580aef2a3f81cea47e459c90873512666 /gdb/arch | |
parent | 2db20b97f1dc3e5dce3d6ed74a8a62f0dede8c80 (diff) | |
download | gdb-1c450dc2e7626eb7643e5a370b4d5fe3b10f34ed.zip gdb-1c450dc2e7626eb7643e5a370b4d5fe3b10f34ed.tar.gz gdb-1c450dc2e7626eb7643e5a370b4d5fe3b10f34ed.tar.bz2 |
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*').
Diffstat (limited to 'gdb/arch')
-rw-r--r-- | gdb/arch/riscv.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/arch/riscv.h b/gdb/arch/riscv.h index 54610ed..d5ea1a5 100644 --- a/gdb/arch/riscv.h +++ b/gdb/arch/riscv.h @@ -47,9 +47,10 @@ struct riscv_gdbarch_features int flen = 0; /* The size of the v-registers in bytes. The value 0 indicates a target - with no vector registers. The minimum value for a standard compliant - target should be 16, but GDB doesn't currently mind, and will accept - any vector size. */ + with no vector registers. The minimum value for a 'V'-extension compliant + target should be 16 and 4 for an embedded subset compliant target (with + 'Zve32*' extension), but GDB doesn't currently mind, and will accept any + vector size. */ int vlen = 0; /* When true this target is RV32E. */ |