[Libre-soc-bugs] [Bug 730] adapt ALU test cases to include expected results

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Thu Nov 25 00:43:06 GMT 2021


https://bugs.libre-soc.org/show_bug.cgi?id=730

--- Comment #50 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
test this != 0 just like line 304

 305             carry_out32 = ((initial_regs[6] & 0xffff_ffff) + \
 306                     (initial_regs[7] & 0xffff_ffff)) & (1<<32)

then make this (carry_out32 << 1)

 323             e.ca = carry_out | (carry_out32>>31)

same everywhere else.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list