From 57e8577cfd7a6d4eeff078862701a5da494fd741 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 7 Dec 2023 19:52:29 +0000 Subject: [PATCH] correction to idx --- src/openpower/decoder/isa/test_caller_svp64_dd_ffirst.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2