From: Alexandre Oliva Date: Mon, 21 Dec 2020 01:42:29 +0000 (-0300) Subject: merge luke's cregs improvements X-Git-Tag: convert-csv-opcode-to-binary~866 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=341d39b4d7e7abfac6e1b20cec66f53fbfd8b4d5;p=libreriscv.git merge luke's cregs improvements --- diff --git a/lxo/532/comp16-v1alt-skel.py b/lxo/532/comp16-v1alt-skel.py index 8fd59348b..b5354eec2 100644 --- a/lxo/532/comp16-v1alt-skel.py +++ b/lxo/532/comp16-v1alt-skel.py @@ -180,10 +180,11 @@ def crbtcnd(mop): # (remember to exclude nop - ori r0,r0,0 as this skews numbers) # Registers representable in a made-up 3-bit mapping. # It must contain 0 for proper working of at least storex. -cregs3 = { 0, 31, 1, 2, 3, 4, 5, 6, 7 } +#cregs3 = { 0, 31, 1, 2, 3, 4, 5, 6, 7 } +cregs3 = { 0, 9, 3, 1, 2, 31, 10, 30, 4 } # Ditto in a 2-bit mapping. It needs not contain 0, but it must be a # subset of cregs3 for proper working of at least storex. -cregs2 = { 2, 3, 4, 5 } +cregs2 = { 9, 3, 1, 2 } # Use the same sets for FP for now. cfregs3 = cregs3 cfregs2 = cregs2