From 7ed66c600da864e0d704fb56dcfc29be417e5a21 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 14 Dec 2020 06:35:35 +0000 Subject: [PATCH] use insn-histogram analysed set of regs --- openpower/sv/comp16-v1-skel.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/openpower/sv/comp16-v1-skel.py b/openpower/sv/comp16-v1-skel.py index 3f56dcdc6..db281796a 100644 --- a/openpower/sv/comp16-v1-skel.py +++ b/openpower/sv/comp16-v1-skel.py @@ -179,10 +179,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 -- 2.30.2