From: Luke Kenneth Casson Leighton Date: Sat, 10 Jul 2021 11:36:43 +0000 (+0100) Subject: more generic allow fft mode 2nd output detection. REALLY need a CSV Out2 column X-Git-Tag: xlen-bcd~308 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6feb359a1e5a3adcc307237439fc087e9ab7f65b;p=openpower-isa.git more generic allow fft mode 2nd output detection. REALLY need a CSV Out2 column --- 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)