From: Jacob Lifshay Date: Thu, 20 Jul 2023 22:18:18 +0000 (-0700) Subject: format code X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=709d5c02dac8d3ab2b91fb15a63e1d55eb633d2d;p=openpower-isa.git format code --- diff --git a/src/openpower/test/alu/maddsubrs_cases.py b/src/openpower/test/alu/maddsubrs_cases.py index 326060d4..7958e569 100644 --- a/src/openpower/test/alu/maddsubrs_cases.py +++ b/src/openpower/test/alu/maddsubrs_cases.py @@ -11,6 +11,7 @@ from openpower.test.state import ExpectedState import unittest import math + class MADDSUBRSTestCase(TestAccumulatorBase): def case_0_maddsubrs(self): @@ -55,10 +56,10 @@ class MADDSUBRSTestCase(TestAccumulatorBase): initial_regs[11] = 0x10000000 e = ExpectedState(pc=4) - e.intregs[1] = 0x40000000c000000; - e.intregs[2] = 0x3fffffff4000000; + e.intregs[1] = 0x40000000c000000 + e.intregs[2] = 0x3fffffff4000000 e.intregs[10] = 0x00000003 - e.intregs[11] = 0x10000000; + e.intregs[11] = 0x10000000 self.add_case(Program(lst, bigendian), initial_regs, expected=e) def case_3_maddsubrs(self): @@ -71,10 +72,10 @@ class MADDSUBRSTestCase(TestAccumulatorBase): initial_regs[11] = 0x10000000 e = ExpectedState(pc=4) - e.intregs[1] = 0x100000003000; - e.intregs[2] = 0x0fffffffd000; + e.intregs[1] = 0x100000003000 + e.intregs[2] = 0x0fffffffd000 e.intregs[10] = 0x00000003 - e.intregs[11] = 0x10000000; + e.intregs[11] = 0x10000000 self.add_case(Program(lst, bigendian), initial_regs, expected=e) def case_4_maddsubrs(self): @@ -87,10 +88,10 @@ class MADDSUBRSTestCase(TestAccumulatorBase): initial_regs[11] = 0xff0000000 e = ExpectedState(pc=4) - e.intregs[1] = 0xf8000017e8000000; - e.intregs[2] = 0xf7ffffe818000000; + e.intregs[1] = 0xf8000017e8000000 + e.intregs[2] = 0xf7ffffe818000000 e.intregs[10] = 0x000000003 - e.intregs[11] = 0xff0000000; + e.intregs[11] = 0xff0000000 self.add_case(Program(lst, bigendian), initial_regs, expected=e) def case_maddsubrs_16bit_s14(self):