From 61dbd43d994cde074c22950c720a4e37da33dc79 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 12 Apr 2018 06:38:31 +0100 Subject: [PATCH] add load/store --- simple_v_extension.mdwn | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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 -- 2.30.2