From 64678260447e85656e8d52429c2fe3c72636dafd Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Sat, 4 Sep 2021 17:27:44 +0000 Subject: [PATCH] comparefixed: switch cmp to XLEN --- openpower/isa/comparefixed.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.30.2