CTR: BaseRM[19]
VLS: BaseRM[20]
+ def specifiers(self, record):
+ if self.ALL:
+ yield "all"
+ if self.SNZ:
+ yield "snz"
+ if self.SL:
+ yield "sl"
+ if self.SLu:
+ yield "slu"
+ if self.LRu:
+ yield "lru"
+
+ yield from super().specifiers(record=record)
+
class BranchSimpleRM(BranchBaseRM):
"""branch: simple mode"""
]
self._do_tst(expected)
+ def test_16_bc(self):
+ expected = [
+ "sv.bc/all 12,*1,0xc",
+ "sv.bc/snz 12,*1,0xc",
+ "sv.bc/all/sl/slu 12,*1,0xc",
+ "sv.bc/all/snz/sl/slu/lru 12,*1,0xc",
+ ]
+ self._do_tst(expected)
+
if __name__ == "__main__":
unittest.main()