From: lkcl Date: Sun, 29 Nov 2020 18:34:51 +0000 (+0000) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~1612 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=36dfcf2c88fced1d0d64414a1fa5540924acca91;p=libreriscv.git --- diff --git a/openpower/sv/cr_int_predication.mdwn b/openpower/sv/cr_int_predication.mdwn index 25bc3307f..ec5e17d70 100644 --- a/openpower/sv/cr_int_predication.mdwn +++ b/openpower/sv/cr_int_predication.mdwn @@ -36,7 +36,7 @@ bit 11=0: crweird: RT, BB, mask.mode creg = CRfile[32+BB*4:36+BB*4] - n0 = mask[1] & (mode[0] == creg[0]) + n0 = mask[0] & (mode[0] == creg[0]) n1 = mask[1] & (mode[1] == creg[1]) n2 = mask[2] & (mode[2] == creg[2]) n3 = mask[3] & (mode[3] == creg[3]) @@ -47,7 +47,7 @@ bit 11=1: mtcrweird: RA, BB, mask.mode reg = (RA|0) - n0 = mask[1] & (mode[0] == reg[0]) + n0 = mask[0] & (mode[0] == reg[0]) n1 = mask[1] & (mode[1] == reg[0]) n2 = mask[2] & (mode[2] == reg[0]) n3 = mask[3] & (mode[3] == reg[0])