working on fixing divde
authorJacob Lifshay <programmerjake@gmail.com>
Tue, 6 Oct 2020 02:51:40 +0000 (19:51 -0700)
committerJacob Lifshay <programmerjake@gmail.com>
Tue, 6 Oct 2020 02:51:40 +0000 (19:51 -0700)
openpower/isa/fixedarith.mdwn

index 7d0c1efe30840401b844a94fdc92126b847f9ef1..480db87fabeedbb7b2bad4e80df31998a5c98e28 100644 (file)
@@ -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