From d4977cee91443e91fc1444f07219b6029d63476e Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Mon, 5 Oct 2020 18:00:50 -0700 Subject: [PATCH] fix divweu bug --- openpower/isa/fixedarith.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openpower/isa/fixedarith.mdwn b/openpower/isa/fixedarith.mdwn index f8511652c..4fda5dc2b 100644 --- a/openpower/isa/fixedarith.mdwn +++ b/openpower/isa/fixedarith.mdwn @@ -475,8 +475,8 @@ Pseudo-code: if (divisor = 0x0000_0000_0000_0000) then overflow <- 1 else - result <- dividend / divisor - if (RA) < (RB) then + result <- dividend / divisor + if RA[32:63]