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 <giacomo.travaglini@arm.com> Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -283,30 +283,18 @@ class RegOperandDesc(OperandDesc):
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user