From: Dmitry Selyutin Date: Sat, 4 Sep 2021 17:27:20 +0000 (+0000) Subject: comparefixed: switch cmpi to XLEN X-Git-Tag: xlen-bcd~12 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bbe7b134c82c39ca73bd643081652f8083952145;p=openpower-isa.git comparefixed: switch cmpi to XLEN --- 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