From 0eecf79d1020c38b917284ebac1f579861fe3993 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 7 Dec 2023 20:00:12 +0000 Subject: [PATCH] add repr function to CR field --- src/openpower/decoder/isa/test_caller_svp64_dd_ffirst.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.30.2