From: Jacob Lifshay Date: Tue, 6 Oct 2020 02:51:40 +0000 (-0700) Subject: working on fixing divde X-Git-Tag: convert-csv-opcode-to-binary~2089 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1aa8c1399e8424eea14868df31bf3f4aad46e67a;p=libreriscv.git working on fixing divde --- diff --git a/openpower/isa/fixedarith.mdwn b/openpower/isa/fixedarith.mdwn index 7d0c1efe3..480db87fa 100644 --- a/openpower/isa/fixedarith.mdwn +++ b/openpower/isa/fixedarith.mdwn @@ -719,7 +719,7 @@ Pseudo-code: overflow <- 1 else result <- DIVS(dividend, divisor) - if result[0:64] = 0x0000_0000_0000_0000 then + if result[0:63] = 0x0000_0000_0000_0000 then RT <- result[0:63] overflow <- 0 else