From: Luke Kenneth Casson Leighton Date: Thu, 7 Dec 2023 19:52:29 +0000 (+0000) Subject: correction to idx X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a13391d34ad98f5f1ec563d9b1450430a5f21782;p=openpower-isa.git correction to idx --- diff --git a/src/openpower/decoder/isa/test_caller_svp64_dd_ffirst.py b/src/openpower/decoder/isa/test_caller_svp64_dd_ffirst.py index aed71944..c80e39fb 100644 --- a/src/openpower/decoder/isa/test_caller_svp64_dd_ffirst.py +++ b/src/openpower/decoder/isa/test_caller_svp64_dd_ffirst.py @@ -23,8 +23,8 @@ def cmpd(x, y): def sv_cmpi(gpr, CR, vl, ra, si): i = 0 while i < vl: - CR[idx] = cmpd(gpr[ra + i], si) - if CR[idx].lt: + CR[i] = cmpd(gpr[ra + i], si) + if CR[i].lt: break i += 1 return i # new VL