gen = [ decodetree.process('mips32r6.decode', extra_args: '--static-decode=decode_mips32r6'), decodetree.process('mips64r6.decode', extra_args: '--static-decode=decode_mips64r6'), decodetree.process('msa.decode', extra_args: '--decode=decode_ase_msa'), decodetree.process('tx79.decode', extra_args: '--static-decode=decode_tx79'), ] mips_ss.add(gen) mips_ss.add(files( 'dsp_helper.c', 'exception.c', 'fpu_helper.c', 'ldst_helper.c', 'lmmi_helper.c', 'msa_helper.c', 'msa_translate.c', 'op_helper.c', 'rel6_translate.c', 'translate.c', 'translate_addr_const.c', 'txx9_translate.c', )) mips_ss.add(when: 'TARGET_MIPS64', if_true: files( 'tx79_translate.c', ), if_false: files( 'mxu_translate.c', )) if have_user subdir('user') endif if have_system subdir('sysemu') endif