correction to idx
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 7 Dec 2023 19:52:29 +0000 (19:52 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 22 Dec 2023 19:26:22 +0000 (19:26 +0000)
src/openpower/decoder/isa/test_caller_svp64_dd_ffirst.py

index aed71944f40d4ee9a00502883d7ca20be6aa3f40..c80e39fbf227fae548d3671d1dfe55d7681427ea 100644 (file)
@@ -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