From: Luke Kenneth Casson Leighton Date: Mon, 14 Dec 2020 14:05:41 +0000 (+0000) Subject: use highest occurring reg #s in estimates X-Git-Tag: convert-csv-opcode-to-binary~1325 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=692248b24b99709c767f958533eaf41d60fe7677;p=libreriscv.git use highest occurring reg #s in estimates --- diff --git a/openpower/sv/estimate-compression.py b/openpower/sv/estimate-compression.py index 1d38b5feb..94c0237fd 100644 --- a/openpower/sv/estimate-compression.py +++ b/openpower/sv/estimate-compression.py @@ -101,7 +101,7 @@ def same01(opcode, ops): return 0 # Registers representable in a made-up 3-bit mapping. -cregs2 = { 1, 2, 3, 4, 5, 6, 7, 31 } +cregs2 = { 9, 1, 2, 3, 31, 10, 30, 4 } # Return true iff mop is a regular register present in cregs2 def bin2regs3(mop):