From: Luke Kenneth Casson Leighton Date: Thu, 7 Dec 2023 20:00:12 +0000 (+0000) Subject: add repr function to CR field X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=abf52e0135572521ee47f3d5f0d4aaf578db00cf;p=openpower-isa.git add repr function to CR field --- diff --git a/src/openpower/decoder/isa/test_caller_svp64_dd_ffirst.py b/src/openpower/decoder/isa/test_caller_svp64_dd_ffirst.py index c80e39fb..df399a67 100644 --- a/src/openpower/decoder/isa/test_caller_svp64_dd_ffirst.py +++ b/src/openpower/decoder/isa/test_caller_svp64_dd_ffirst.py @@ -10,7 +10,9 @@ from openpower.insndb.asm import SVP64Asm def cmpd(x, y): - class CRfield: object + class CRfield: + def __repr__(self): + return "" % (self.lt, self.gt, self.eq) CRf = CRfield() CRf.lt = x < y CRf.gt = x > y