From: lkcl Date: Sat, 9 Jan 2021 17:26:05 +0000 (+0000) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~518 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0ad545faa651d093a2dfe7a50ee73b21837d1791;p=libreriscv.git --- 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<