From bbe7b134c82c39ca73bd643081652f8083952145 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Sat, 4 Sep 2021 17:27:20 +0000 Subject: [PATCH] comparefixed: switch cmpi to XLEN --- openpower/isa/comparefixed.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openpower/isa/comparefixed.mdwn b/openpower/isa/comparefixed.mdwn index e1a365f2..6aa6ed34 100644 --- a/openpower/isa/comparefixed.mdwn +++ b/openpower/isa/comparefixed.mdwn @@ -15,7 +15,7 @@ D-Form Pseudo-code: - if L = 0 then a <- EXTS((RA)[32:63]) + if L = 0 then a <- EXTS((RA)[XLEN/2:XLEN-1]) else a <- (RA) if a < EXTS(SI) then c <- 0b100 else if a > EXTS(SI) then c <- 0b010 -- 2.30.2