From f4bc2aa281cecc734bbfe1cc502b7f6f604f0f51 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 4 Jun 2018 03:24:05 +0100 Subject: [PATCH] clarify --- simple_v_extension.mdwn | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/simple_v_extension.mdwn b/simple_v_extension.mdwn index 771966200..6882d388a 100644 --- a/simple_v_extension.mdwn +++ b/simple_v_extension.mdwn @@ -445,9 +445,16 @@ reference to the predication register to be used: s2 ? vreg[rs2][i] : sreg[rs2]); // for insts with 2 inputs This instead becomes an *indirect* reference using the *internal* state -table generated from the Predication CSR key-value store, which is used -as follows (Note: d, s1 and s2 are booleans indicating whether destination, -source1 and source2 are vector or scalar): +table generated from the Predication CSR key-value store, which iwws used +as follows. + +Note: + +* d, s1 and s2 are booleans indicating whether destination, + source1 and source2 are vector or scalar +* key-value CSR-redirection of rd, rs1 and rs2 have NOT been included + below, for clarity. rd, rs1 and rs2 all also must ALSO go through + register-level redirection (from the Register CSR table) if they are vectors. if type(iop) == INT: preg = int_pred_reg[rd] @@ -455,16 +462,17 @@ source1 and source2 are vector or scalar): preg = fp_pred_reg[rd] for (int i=0; i