whitespace
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 11 Nov 2021 10:29:57 +0000 (10:29 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 11 Nov 2021 10:29:57 +0000 (10:29 +0000)
src/openpower/test/alu/alu_cases.py

index 5f7e7ceacb2dae392f87cb98a3b7124089d5eec5..b656f44b5082506323a5bfa3fe86889fc974d673 100644 (file)
@@ -19,6 +19,7 @@ class ALUTestCase(TestAccumulatorBase):
         e.intregs[1] = 0xb6a1fc6c8576af91
         e.intregs[3] = 0xffffffff8576af91
         self.add_case(Program(lst, bigendian), initial_regs, expected=e)
+
         lst = [f"subf 3, 1, 2"]
         initial_regs = [0] * 32
         initial_regs[1] = 0x3d7f3f7ca24bac7b
@@ -28,6 +29,7 @@ class ALUTestCase(TestAccumulatorBase):
         e.intregs[2] = 0xf6b2ac5e13ee15c2
         e.intregs[3] = 0xb9336ce171a26947
         self.add_case(Program(lst, bigendian), initial_regs, expected=e)
+
         lst = [f"subf 3, 1, 2"]
         initial_regs = [0] * 32
         initial_regs[1] = 0x833652d96c7c0058
@@ -37,6 +39,7 @@ class ALUTestCase(TestAccumulatorBase):
         e.intregs[2] = 0x1c27ecff8a086c1a
         e.intregs[3] = 0x98f19a261d8c6bc2
         self.add_case(Program(lst, bigendian), initial_regs, expected=e)
+
         lst = [f"extsb 3, 1"]
         initial_regs = [0] * 32
         initial_regs[1] = 0x7f9497aaff900ea0
@@ -44,6 +47,7 @@ class ALUTestCase(TestAccumulatorBase):
         e.intregs[1] = 0x7f9497aaff900ea0
         e.intregs[3] = 0xffffffffffffffa0
         self.add_case(Program(lst, bigendian), initial_regs, expected=e)
+
         lst = [f"add. 3, 1, 2"]
         initial_regs = [0] * 32
         initial_regs[1] = 0xc523e996a8ff6215
@@ -54,6 +58,7 @@ class ALUTestCase(TestAccumulatorBase):
         e.intregs[3] = 0xa709a363416426bd
         e.crregs[0] = 0x8
         self.add_case(Program(lst, bigendian), initial_regs, expected=e)
+
         lst = [f"add 3, 1, 2"]
         initial_regs = [0] * 32
         initial_regs[1] = 0x2e08ae202742baf8