| 1 | gen = [ |
| 2 | decodetree.process('rel6.decode', extra_args: ['--decode=decode_isa_rel6']), |
| 3 | decodetree.process('msa.decode', extra_args: '--decode=decode_ase_msa'), |
| 4 | decodetree.process('tx79.decode', extra_args: '--static-decode=decode_tx79'), |
| 5 | decodetree.process('vr54xx.decode', extra_args: '--decode=decode_ext_vr54xx'), |
| 6 | decodetree.process('octeon.decode', extra_args: '--decode=decode_ext_octeon'), |
| 7 | decodetree.process('lcsr.decode', extra_args: '--decode=decode_ase_lcsr'), |
| 8 | decodetree.process('godson2.decode', extra_args: ['--static-decode=decode_godson2']), |
| 9 | decodetree.process('loong-ext.decode', extra_args: ['--static-decode=decode_loong_ext']), |
| 10 | ] |
| 11 | |
| 12 | mips_ss.add(gen) |
| 13 | mips_ss.add(files( |
| 14 | 'dsp_helper.c', |
| 15 | 'exception.c', |
| 16 | 'fpu_helper.c', |
| 17 | 'ldst_helper.c', |
| 18 | 'lmmi_helper.c', |
| 19 | 'msa_helper.c', |
| 20 | 'msa_translate.c', |
| 21 | 'octeon_crypto.c', |
| 22 | 'op_helper.c', |
| 23 | 'rel6_translate.c', |
| 24 | 'translate.c', |
| 25 | 'translate_addr_const.c', |
| 26 | 'txx9_translate.c', |
| 27 | 'vr54xx_helper.c', |
| 28 | 'vr54xx_translate.c', |
| 29 | )) |
| 30 | mips_ss.add(when: 'TARGET_MIPS64', if_true: files( |
| 31 | 'tx79_translate.c', |
| 32 | 'octeon_translate.c', |
| 33 | 'lcsr_translate.c', |
| 34 | 'loong_translate.c', |
| 35 | ), if_false: files( |
| 36 | 'mxu_translate.c', |
| 37 | )) |
| 38 | |
| 39 | if have_system |
| 40 | subdir('system') |
| 41 | endif |