From cc8084be2742ef2d0e0b9df76cd4a42e28ca4bc9 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 25 Jun 2022 21:08:06 +0100 Subject: [PATCH] whoops wrong example value --- openpower/sv/sof.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openpower/sv/sof.py b/openpower/sv/sof.py index 66f4b86af..6ad0fb5d5 100644 --- a/openpower/sv/sof.py +++ b/openpower/sv/sof.py @@ -20,7 +20,7 @@ def sof(RA, mask=None, zero=False): if __name__ == '__main__': m = 0b11000011 - v3 = 0b10010100 # vmsof.m v2, v3 + v3 = 0b11010100 # vmsof.m v2, v3 v2 = 0b01000000 # v2 RT = sof(v3, m, True) print(bin(v3), bin(v2), bin(RT)) -- 2.30.2