From: Luke Kenneth Casson Leighton Date: Tue, 10 May 2022 09:49:38 +0000 (+0100) Subject: rename comments persistent bit on svremap X-Git-Tag: sv_maxu_works-initial~432 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3691153a3f83e37ebec62023a0b9bd2bba68cdd6;p=openpower-isa.git rename comments persistent bit on svremap --- 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))