From: lkcl Date: Sun, 29 Nov 2020 18:19:17 +0000 (+0000) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~1618 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6f056313a1ae19e9ee8a9b5f6b132852c05240d8;p=libreriscv.git --- diff --git a/openpower/sv/cr_int_predication.mdwn b/openpower/sv/cr_int_predication.mdwn index 187710830..524835b20 100644 --- a/openpower/sv/cr_int_predication.mdwn +++ b/openpower/sv/cr_int_predication.mdwn @@ -32,9 +32,21 @@ bit 11=0: crweird: RT, BB, mask.mode creg = CRfile[32+BB*4:36+BB*4] - n0 = mask[1] & (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] + n0 = mask[1] & (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]) RT[0] = n0 | n1 | n2 | b3 +bit 11=0: + + mfcrweird: RA, BB, mask.mode + + reg = GPR(RA|0) + n0 = mask[1] & (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]) + creg = n0 | n1 | n2 | b3 + CRfile[32+BB*4:36+BB*4] = creg +