fix moduw spec
authorJacob Lifshay <programmerjake@gmail.com>
Tue, 6 Oct 2020 02:12:55 +0000 (19:12 -0700)
committerJacob Lifshay <programmerjake@gmail.com>
Tue, 6 Oct 2020 02:12:55 +0000 (19:12 -0700)
openpower/isa/fixedarith.mdwn

index ee817dfd7441405cafe0999743f6ec5498a00204..7d0c1efe30840401b844a94fdc92126b847f9ef1 100644 (file)
@@ -527,7 +527,7 @@ Pseudo-code:
         RT[0:63] <- undefined[0:63]
         overflow <- 1
     else
-        RT[32:63] <- MODS(dividend, divisor)
+        RT[32:63] <- dividend % divisor
         RT[0:31] <- undefined[0:31]
         overflow <- 0