use highest occurring reg #s in estimates
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 14 Dec 2020 14:05:41 +0000 (14:05 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 14 Dec 2020 14:05:41 +0000 (14:05 +0000)
openpower/sv/estimate-compression.py

index 1d38b5feb9c7aab21e8028a2d44940d8e96a446f..94c0237fdfc14f79475137f1f2d0185be7f1afcf 100644 (file)
@@ -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):