From 7f80cba246066dc64fd08df16257baf4e54d62b9 Mon Sep 17 00:00:00 2001 From: R Veera Kumar Date: Thu, 25 Nov 2021 05:17:35 +0530 Subject: [PATCH] Fix line so that 80 characters per line is kept and removed a comment --- src/openpower/test/alu/alu_cases.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openpower/test/alu/alu_cases.py b/src/openpower/test/alu/alu_cases.py index 8dcbe2e5..4d93fe9f 100644 --- a/src/openpower/test/alu/alu_cases.py +++ b/src/openpower/test/alu/alu_cases.py @@ -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 -- 2.30.2