Gabe Black has submitted this change. (
https://gem5-review.googlesource.com/c/public/gem5/+/49734 )
(
60 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the
submitted one.
)Change subject: arch: Delete now unused operand types.
......................................................................
arch: Delete now unused operand types.
These have been subsumed into the RegOperand type, and are fronted by
the *RegOperandDesc OperandDesc classes.
Change-Id: If57b683b06f3002004863c2d74f2a645882fbd41
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/49734
Reviewed-by: Giacomo Travaglini <[email protected]>
Maintainer: Giacomo Travaglini <[email protected]>
Tested-by: kokoro <[email protected]>
---
M src/arch/isa_parser/operand_types.py
1 file changed, 16 insertions(+), 12 deletions(-)
Approvals:
Giacomo Travaglini: Looks good to me, approved; Looks good to me, approved
kokoro: Regressions pass
diff --git a/src/arch/isa_parser/operand_types.py
b/src/arch/isa_parser/operand_types.py
index 729b60a..fbf8773 100755
--- a/src/arch/isa_parser/operand_types.py
+++ b/src/arch/isa_parser/operand_types.py
@@ -283,30 +283,18 @@
super().__init__(*args, **kwargs)
self.attrs['reg_class'] = reg_class
-class IntRegOperand(RegValOperand):
- reg_class = 'IntRegClass'
-
class IntRegOperandDesc(RegOperandDesc):
def __init__(self, *args, **kwargs):
super().__init__('IntRegClass', RegValOperand, *args, **kwargs)
-class FloatRegOperand(RegValOperand):
- reg_class = 'FloatRegClass'
-
class FloatRegOperandDesc(RegOperandDesc):
def __init__(self, *args, **kwargs):
super().__init__('FloatRegClass', RegValOperand, *args, **kwargs)
-class CCRegOperand(RegValOperand):
- reg_class = 'CCRegClass'
-
class CCRegOperandDesc(RegOperandDesc):
def __init__(self, *args, **kwargs):
super().__init__('CCRegClass', RegValOperand, *args, **kwargs)
-class VecElemOperand(RegValOperand):
- reg_class = 'VecElemClass'
-
class VecElemOperandDesc(RegOperandDesc):
def __init__(self, *args, **kwargs):
super().__init__('VecElemClass', RegValOperand, *args, **kwargs)
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/49734
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: If57b683b06f3002004863c2d74f2a645882fbd41
Gerrit-Change-Number: 49734
Gerrit-PatchSet: 62
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-Reviewer: Gabe Black <[email protected]>
Gerrit-Reviewer: Giacomo Travaglini <[email protected]>
Gerrit-Reviewer: kokoro <[email protected]>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s