From 0ad545faa651d093a2dfe7a50ee73b21837d1791 Mon Sep 17 00:00:00 2001 From: lkcl Date: Sat, 9 Jan 2021 17:26:05 +0000 Subject: [PATCH] --- openpower/sv/ldst.mdwn | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/openpower/sv/ldst.mdwn b/openpower/sv/ldst.mdwn index 35e2d7862..b5bd16903 100644 --- a/openpower/sv/ldst.mdwn +++ b/openpower/sv/ldst.mdwn @@ -42,12 +42,13 @@ in order to give unit or element stride. With there being no way to tell which # LD not VLD! # op_width: lb=1, lh=2, lw=4, ld=8 - op_load(RT, RA, op_width, immed, svctx, update): + op_load(RT, RA, op_width, immed, svctx, RAupdate):  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;): +  for (i=0, j=0, u=0; i < VL && j < VL;): # skip nonpredicates elements if (RA.isvec) while (!(ps & 1<