From b4c02fd2db60119f4b1e91e317e735dc53a5c246 Mon Sep 17 00:00:00 2001 From: lkcl Date: Fri, 16 Sep 2022 19:57:38 +0100 Subject: [PATCH] --- openpower/sv/rfc/ls001.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openpower/sv/rfc/ls001.mdwn b/openpower/sv/rfc/ls001.mdwn index c709e2ecf..b7067bbf8 100644 --- a/openpower/sv/rfc/ls001.mdwn +++ b/openpower/sv/rfc/ls001.mdwn @@ -1041,8 +1041,8 @@ could then be performed. Full Rationale at 81 for i in [7, 8, 9]: 83 addi 1, 0, i+1 # set r1 to i 84 addi 2, 0, i # set r2 to i - 85 cmpi cr0, 1, 1, 8 # compare r1 with 10 and store to cr0 - 86 cmpi cr1, 1, 2, 8 # compare r2 with 10 and store to cr1 + 85 cmpi cr0, 1, 1, 8 # compare r1 with 8 and store to cr0 + 86 cmpi cr1, 1, 2, 8 # compare r2 with 8 and store to cr1 87 sv.bc/all 12, *1, 0xc # bgt 0xc - branch if BOTH 88 # r1 AND r2 greater 8 to the nop below 89 addi 3, 0, 0x1234, # if tests fail this shouldn't execute -- 2.30.2