self.pred_sz = pred_sz
self.new_ssubstep = ssubstep
log(" new ssubstep", ssubstep)
- if ssubstart:
- # until the predicate mask has a "1" bit... or we run out of VL
- # let srcstep==VL be the indicator to move to next instruction
- if not pred_sz:
- self.srcstep_skip = True
+ # until the predicate mask has a "1" bit... or we run out of VL
+ # let srcstep==VL be the indicator to move to next instruction
+ if not pred_sz:
+ self.srcstep_skip = True
def read_dst_mask(self):
"""same as read_src_mask - check and record everything needed
self.pred_dz = pred_dz
self.new_dsubstep = dsubstep
log(" new dsubstep", dsubstep)
- if dsubstart:
- if not pred_dz:
- self.dststep_skip = True
+ if not pred_dz:
+ self.dststep_skip = True
def svstate_pre_inc(self):
"""check if srcstep/dststep need to skip over masked-out predicate bits
skew = i*2+j
self.assertEqual(sim.gpr(0+offs), SelectableInt(skew, 64))
- def tst_svstep_predicate_pack(self):
+ def test_svstep_predicate_pack(self):
"""tests pack mode with a predicate
"""
lst = SVP64Asm(["setvl 0, 0, 4, 0, 1, 1",