From: Jacob Lifshay Date: Tue, 6 Oct 2020 02:12:55 +0000 (-0700) Subject: fix moduw spec X-Git-Tag: convert-csv-opcode-to-binary~2090 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7c9fe81cec11e3730c40a4cb8f8352d1c2a4a660;p=libreriscv.git fix moduw spec --- diff --git a/openpower/isa/fixedarith.mdwn b/openpower/isa/fixedarith.mdwn index ee817dfd7..7d0c1efe3 100644 --- a/openpower/isa/fixedarith.mdwn +++ b/openpower/isa/fixedarith.mdwn @@ -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