assert sv_mode == 0b01 # only allow ff mode
vli = True
elif encmode == 'sea':
- assert sv_mode in (None, 0b00, 0b01)
assert is_ldst_idx
sea = True
assert failfirst is False, "cannot use ffirst+signed-address"
else:
raise AssertionError("unknown encmode %s" % encmode)
+ # check sea *after* all qualifiers are evaluated
+ if sea:
+ assert sv_mode in (None, 0b00, 0b01)
+
if ptype == '2P':
# since m=xx takes precedence (overrides) sm=xx and dm=xx,
# treat them as mutually exclusive
def test_19_ldst_idx_els(self):
expected = [
"sv.stdx/els *4,16,2",
+ "sv.stdx/sea/els *4,16,2",
"sv.ldx/els *4,16,2",
+ "sv.ldx/sea/els *4,16,2",
]
self._do_tst(expected)