From e36f7bbb1d323b37bc789a750a897714a42b628c Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Sat, 9 Sep 2023 20:46:15 +0300 Subject: [PATCH] insndb/core: introduce pair operand base class --- src/openpower/insndb/core.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/openpower/insndb/core.py b/src/openpower/insndb/core.py index 5c8945cf..29fec725 100644 --- a/src/openpower/insndb/core.py +++ b/src/openpower/insndb/core.py @@ -1376,7 +1376,11 @@ class GPROperand(SimpleRegisterOperand): style=style, indent=indent) -class GPRPairOperand(GPROperand): +class PairOperand(DynamicOperand): + pass + + +class GPRPairOperand(GPROperand, PairOperand): pass @@ -1391,7 +1395,7 @@ class FPROperand(SimpleRegisterOperand): style=style, indent=indent) -class FPRPairOperand(FPROperand): +class FPRPairOperand(FPROperand, PairOperand): pass -- 2.30.2