From 16dff38b1d50bcf7edabe2f620fe33592f777430 Mon Sep 17 00:00:00 2001 From: lkcl Date: Thu, 7 Jan 2021 00:00:39 +0000 Subject: [PATCH] --- openpower/sv/svp64/appendix.mdwn | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/openpower/sv/svp64/appendix.mdwn b/openpower/sv/svp64/appendix.mdwn index acfb79782..6fa0ae285 100644 --- a/openpower/sv/svp64/appendix.mdwn +++ b/openpower/sv/svp64/appendix.mdwn @@ -309,7 +309,7 @@ analysis and research) to be as follows: CR_index = 7-(BA>>2) # top 3 bits but BE bit_index = 3-(BA & 0b11) # low 2 bits but BE - CR_reg = CR[CR_index] # get the CR + CR_reg = CR{CR_index} # get the CR # finally get the bit from the CR. CR_bit = (CR_reg & (1< 0 + CRs{8+i}.eq = iregs[RT+i] == 0 + CRs{8+i}.gt = iregs[RT+i] > 0 ... etc If a "cumulated" CR based analysis of results is desired (a la VSX CR6) -- 2.30.2