From: Dmitry Selyutin Date: Sat, 4 Sep 2021 17:27:44 +0000 (+0000) Subject: comparefixed: switch cmp to XLEN X-Git-Tag: xlen-bcd~11 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=64678260447e85656e8d52429c2fe3c72636dafd;p=openpower-isa.git comparefixed: switch cmp to XLEN --- diff --git a/openpower/isa/comparefixed.mdwn b/openpower/isa/comparefixed.mdwn index 6aa6ed34..dbcafd07 100644 --- a/openpower/isa/comparefixed.mdwn +++ b/openpower/isa/comparefixed.mdwn @@ -35,8 +35,8 @@ X-Form Pseudo-code: if L = 0 then - a <- EXTS((RA)[32:63]) - b <- EXTS((RB)[32:63]) + a <- EXTS((RA)[XLEN/2:XLEN-1]) + b <- EXTS((RB)[XLEN/2:XLEN-1]) else a <- (RA) b <- (RB)