yield f"{indent}{', '.join(map(str, members))}"
-class NormalBaseRM(BaseRM):
+class NormalLDSTBaseRM(BaseRM):
@property
def specifiers(self):
ew = int(self.elwidth)
yield from super().specifiers
+class NormalBaseRM(NormalLDSTBaseRM):
+ pass
+
+
class NormalSimpleRM(NormalBaseRM):
"""normal: simple mode"""
dz: BaseRM.mode[3]
prrc0: NormalPredResultRc0RM
-class LDSTImmBaseRM(BaseRM):
- @property
- def specifiers(self):
- ew = int(self.elwidth)
- if ew != 0b00:
- ew = {
- 0b11: "8",
- 0b10: "16",
- 0b01: "32",
- }[ew]
- yield f"ew={ew}"
-
- yield from super().specifiers
+class LDSTImmBaseRM(NormalLDSTBaseRM):
+ pass
class LDSTImmSimpleRM(LDSTImmBaseRM):
prrc0: LDSTImmPredResultRc0RM
-class LDSTIdxBaseRM(BaseRM):
- @property
- def specifiers(self):
- ew = int(self.elwidth)
- if ew != 0b00:
- ew = {
- 0b11: "8",
- 0b10: "16",
- 0b01: "32",
- }[ew]
- yield f"ew={ew}"
-
- yield from super().specifiers
+class LDSTIdxBaseRM(NormalLDSTBaseRM):
+ pass
class LDSTIdxSimpleRM(LDSTIdxBaseRM):