From: lkcl Date: Thu, 17 Dec 2020 14:20:54 +0000 (+0000) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~1232 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9931845cf844d16bf13564a0089f6e03e552b705;p=libreriscv.git --- diff --git a/openpower/sv/ldst.mdwn b/openpower/sv/ldst.mdwn index 203b41465..eb97b254a 100644 --- a/openpower/sv/ldst.mdwn +++ b/openpower/sv/ldst.mdwn @@ -24,23 +24,24 @@ Thus we can see that Vector Indexed may be covered, but there is not a convenien At the minimum however it is possible to provide unit stride and vector mode, as follows: - function op_ld(rd, rs, immed) # LD not VLD! -  rdv = map_dest_extra(rd); -  rsv = map_src_extra(rs); -  ps = get_pred_val(FALSE, rs); # predication on src -  pd = get_pred_val(FALSE, rd); # ... AND on dest + function op_ld(RT, RA, immed) # LD not VLD! +  rdv = map_dest_extra(RT); +  rsv = map_src_extra(RA); +  ps = get_pred_val(FALSE, RA); # predication on src +  pd = get_pred_val(FALSE, RT); # ... AND on dest  for (int i = 0, int j = 0; i < VL && j < VL;): - if (rs.isvec) while (!(ps & 1<