From 210c204dd9a6909a1821953ea0369ae99ef8beef Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 2 Dec 2021 15:05:39 +0000 Subject: [PATCH] use namedtuple in get_rdflags --- src/openpower/decoder/power_decoder2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openpower/decoder/power_decoder2.py b/src/openpower/decoder/power_decoder2.py index 9a2a7394..44b1bf7d 100644 --- a/src/openpower/decoder/power_decoder2.py +++ b/src/openpower/decoder/power_decoder2.py @@ -1606,8 +1606,8 @@ def get_rdflags(m, e, cu): rdl = [] for idx in range(cu.n_src): regfile, regname, _ = cu.get_in_spec(idx) - rdflag, read = regspec_decode_read(m, e, regfile, regname) - rdl.append(rdflag) + decinfo = regspec_decode_read(m, e, regfile, regname) + rdl.append(decinfo.okflag) log("rdflags", rdl) return Cat(*rdl) -- 2.30.2