From 1aa8c1399e8424eea14868df31bf3f4aad46e67a Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Mon, 5 Oct 2020 19:51:40 -0700 Subject: [PATCH] working on fixing divde --- openpower/isa/fixedarith.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2