From 2c94f292a245c0ff51e8209709e36688a55cd82c Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Wed, 25 Aug 2021 15:07:56 +0000 Subject: [PATCH] fixedlogical: switch popcntd to XLEN --- openpower/isa/fixedlogical.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openpower/isa/fixedlogical.mdwn b/openpower/isa/fixedlogical.mdwn index 3118ad7d..645a754b 100644 --- a/openpower/isa/fixedlogical.mdwn +++ b/openpower/isa/fixedlogical.mdwn @@ -408,7 +408,7 @@ X-Form Pseudo-code: n <- 0 - do i = 0 to 63 + do i = 0 to (XLEN-1) if (RS)[i] = 1 then n <- n+1 RA <- n -- 2.30.2