From: Luke Kenneth Casson Leighton Date: Thu, 12 Apr 2018 05:38:31 +0000 (+0100) Subject: add load/store X-Git-Tag: convert-csv-opcode-to-binary~5686 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=61dbd43d994cde074c22950c720a4e37da33dc79;p=libreriscv.git add load/store --- diff --git a/simple_v_extension.mdwn b/simple_v_extension.mdwn index 00275e2ef..c35010f78 100644 --- a/simple_v_extension.mdwn +++ b/simple_v_extension.mdwn @@ -640,6 +640,21 @@ Indexed Store: mem[sreg[base] + vreg[vs2][i] + j*elsize] = vreg[vd+j][i]; Keeping these instructions as-is for Simple-V is highly recommended. +However: one of the goals of this Extension is to retro-fit (re-use) +existing RV Load/Store. + +[[!table data=""" +31 20 | 19 15 | 14 12 | 11 7 | 6 0 | + imm[11:0] | rs1 | funct3 | rd | opcode | + 12 | 5 | 3 | 5 | 7 | + offset[11:0] | base | width | dest | LOAD | +"""]] + +31 25 | 24 20 | 19 15 | 14 12 | 11 7 | 6 0 | + imm[11:5] | rs2 | rs1 | funct3 | imm[4:0] | opcode | + 7 | 5 | 5 | 3 | 5 | 7 | + offset[11:5] | src | base | width | offset[4:0] | STORE | + ## 17.19 Vector Register Gather