xref: /openbmc/qemu/target/mips/tcg/meson.build (revision 243975c0)
1gen = [
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]
9
10mips_ss.add(gen)
11mips_ss.add(files(
12  'dsp_helper.c',
13  'exception.c',
14  'fpu_helper.c',
15  'ldst_helper.c',
16  'lmmi_helper.c',
17  'msa_helper.c',
18  'msa_translate.c',
19  'op_helper.c',
20  'rel6_translate.c',
21  'translate.c',
22  'translate_addr_const.c',
23  'txx9_translate.c',
24  'vr54xx_helper.c',
25  'vr54xx_translate.c',
26))
27mips_ss.add(when: 'TARGET_MIPS64', if_true: files(
28  'tx79_translate.c',
29  'octeon_translate.c',
30  'lcsr_translate.c',
31), if_false: files(
32  'mxu_translate.c',
33))
34
35if have_system
36  subdir('sysemu')
37endif
38