From 9931845cf844d16bf13564a0089f6e03e552b705 Mon Sep 17 00:00:00 2001 From: lkcl Date: Thu, 17 Dec 2020 14:20:54 +0000 Subject: [PATCH] --- openpower/sv/ldst.mdwn | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) 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<