Vector 8-bit unit-stride store
Stores 8-bit elements from vector register vs3 to memory starting at address in xs1 register, using vector mask vm. The effective element width is 8 bits regardless of SEW setting.
vse8.v vs3, (xs1), vm
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 000000 | vm | 00000 | xs1 | 000 | vs3 | 0 | 1 | 00 | 111 | ||||||||||||||||||||||
| Variable | Bits | Width |
|---|---|---|
vm | [25] | 1 |
xs1 | [19:15] | 5 |
vs3 | [11:7] | 5 |
XReg virtual_address = X[xs1];
# "A simple in-order implementation can ignore the settings and simply execute all vector instructions using the undisturbed policy"
for (U32 i = CSR[vstart].VALUE; i < CSR[vl].VALUE; i++) {
U32 start_bit_pos = i * 8;
U32 end_bit_pos = start_bit_pos + 7;
write_memory(8, virtual_address + i, V[vs3][end_bit_pos:start_bit_pos], $encoding);
}
CSR[vstart].VALUE = 0;
Zvl32b
| S | U | VS | VU |
|---|---|---|---|
| Always | Always | Always | Always |
Version af3eaf9+cheriot.f635218
Data from the RISC-V Unified Database, copyright RISC-V International and contributors.
CHERIoT extensions from the CHERIoT specification and Sail model, copyright Microsoft and the CHERIoT Platform contributors.
This site is provided as a community resource and is NOT affiliated with nor endorsed by RISC-V International.