From: Luke Kenneth Casson Leighton Date: Sat, 13 Jan 2024 21:33:48 +0000 (+0000) Subject: bug 676: closer to working maxloc. a lot of cr ops X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=53eb96f06f15ecabf98096472149520e82829a22;p=openpower-isa.git bug 676: closer to working maxloc. a lot of cr ops --- diff --git a/src/openpower/decoder/isa/test_caller_svp64_maxloc.py b/src/openpower/decoder/isa/test_caller_svp64_maxloc.py index f0bdca6b..831472cf 100644 --- a/src/openpower/decoder/isa/test_caller_svp64_maxloc.py +++ b/src/openpower/decoder/isa/test_caller_svp64_maxloc.py @@ -55,7 +55,7 @@ class DDFFirstTestCase(FHDLTestCase): self.assertEqual(sim.gpr(i), SelectableInt(expected[i], 64)) def test_sv_maxloc_1(self): - self.sv_maxloc([0,6,7,8]) + self.sv_maxloc([2,3,0,7]) def tst_sv_maxloc_2(self): self.sv_maxloc([3,4,1,5]) @@ -86,19 +86,21 @@ class DDFFirstTestCase(FHDLTestCase): #"addi 6, 0, 0", # initialise r6 to zero #"sv.lbzu/pi/dw=8 *6, 1(4)", # should be /lf here as well # while (ir4 (and dec CTR) + "bc 12,0, -0x48" # CR0 lt bit clear, branch back + #"setvl 3,0,4,0,1,1", # set MVL=4, VL=MIN(MVL,CTR) + #"sv.bc/m=ge 16, 19, -0x3c", # until r10[i]>r4 (and dec CTR) ]) lst = list(lst)