From 3691153a3f83e37ebec62023a0b9bd2bba68cdd6 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 10 May 2022 10:49:38 +0100 Subject: [PATCH] rename comments persistent bit on svremap --- src/openpower/sv/trans/svp64.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openpower/sv/trans/svp64.py b/src/openpower/sv/trans/svp64.py index 7cdaa4b5..9433ecb3 100644 --- a/src/openpower/sv/trans/svp64.py +++ b/src/openpower/sv/trans/svp64.py @@ -264,7 +264,7 @@ class SVP64Asm: insn |= fields[3] << (31-16) # mi2 , bits 15-16 insn |= fields[4] << (31-18) # m00 , bits 17-18 insn |= fields[5] << (31-20) # m01 , bits 19-20 - insn |= fields[6] << (31-21) # m01 , bit 21 + insn |= fields[6] << (31-21) # pst , bit 21 insn |= 0b00010 << (31-30) # XO , bits 26..30 #insn &= ((1<<32)-1) log("svremap", bin(insn)) -- 2.30.2