Fix line so that 80 characters per line is kept and removed a comment
authorR Veera Kumar <vklr@vkten.in>
Wed, 24 Nov 2021 23:47:35 +0000 (05:17 +0530)
committerR Veera Kumar <vklr@vkten.in>
Wed, 24 Nov 2021 23:47:35 +0000 (05:17 +0530)
src/openpower/test/alu/alu_cases.py

index 8dcbe2e559798b315a5ce360ff19a215accc2a21..4d93fe9f507472b350b2f26aaf696b76ea0af333 100644 (file)
@@ -302,9 +302,9 @@ class ALUTestCase(TestAccumulatorBase):
             # (if it overflows, we don't care, because this is not addeo)
             result = 1 + initial_regs[6] + initial_regs[7]
             carry_out = result & (1<<64) != 0 # detect 65th bit as carry-out?
-            carry_out32 = ((initial_regs[6] & 0xffff_ffff) + (initial_regs[7] & 0xffff_ffff)) & (1<<32)
+            carry_out32 = ((initial_regs[6] & 0xffff_ffff) + \
+                    (initial_regs[7] & 0xffff_ffff)) & (1<<32)
             result = result & ((1<<64)-1) # round
-            # TODO: calculate CR0
             eq = 0
             gt = 0
             le = 0