From: R Veera Kumar Date: Wed, 24 Nov 2021 23:47:35 +0000 (+0530) Subject: Fix line so that 80 characters per line is kept and removed a comment X-Git-Tag: sv_maxu_works-initial~701 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7f80cba246066dc64fd08df16257baf4e54d62b9;p=openpower-isa.git Fix line so that 80 characters per line is kept and removed a comment --- 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