From 0e9a2dcc9be89b0a67fc5559a3fd6ea6af9e0966 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 12 Apr 2018 00:41:58 +0100 Subject: [PATCH] add load/store pseudocode --- simple_v_extension.mdwn | 38 +++++++++++++++++++++++++++++++++++--- 1 file changed, 35 insertions(+), 3 deletions(-) diff --git a/simple_v_extension.mdwn b/simple_v_extension.mdwn index c0a8f8b24..00275e2ef 100644 --- a/simple_v_extension.mdwn +++ b/simple_v_extension.mdwn @@ -604,10 +604,42 @@ Lots to be discussed. ## 17.18 Vector Load/Store Instructions -These may not have a direct equivalent in Simple-V, except if mask/tagging -is to be deployed. +The Vector Load/Store instructions as proposed in V are extremely powerful +and can be used for reordering and regular restructuring. -To be discussed. +Vector Load: + + if (unit-strided) stride = elsize; + else stride = areg[as2]; // constant-strided + for (int i=0; i