From 6feb359a1e5a3adcc307237439fc087e9ab7f65b Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 10 Jul 2021 12:36:43 +0100 Subject: [PATCH] more generic allow fft mode 2nd output detection. REALLY need a CSV Out2 column --- src/openpower/decoder/isa/caller.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/openpower/decoder/isa/caller.py b/src/openpower/decoder/isa/caller.py index 62bfb6ce..2cd1c30e 100644 --- a/src/openpower/decoder/isa/caller.py +++ b/src/openpower/decoder/isa/caller.py @@ -529,7 +529,8 @@ def get_pdecode_idx_out2(dec2, name): if name == 'FRS': int_op = yield dec2.dec.op.internal_op fft_en = yield dec2.use_svp64_fft - if int_op == MicrOp.OP_FP_MADD.value and fft_en: + #if int_op == MicrOp.OP_FP_MADD.value and fft_en: + if fft_en: log ("get_pdecode_idx_out2", out_sel, OutSel.FRS.value, out, o_isvec) return out, o_isvec @@ -1096,6 +1097,11 @@ class ISACaller: illegal = False name = 'ffmadds' + # and ffadds not being supported by binutils (.long) + if asmop == 'ffadds': + illegal = False + name = 'ffadds' + if illegal: print("illegal", name, asmop) self.call_trap(0x700, PIb.ILLEG) -- 2.30.2