From 7c9fe81cec11e3730c40a4cb8f8352d1c2a4a660 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Mon, 5 Oct 2020 19:12:55 -0700 Subject: [PATCH 1/1] fix moduw spec --- 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 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 -- 2.30.2