xref: /openbmc/qemu/target/mips/tcg/meson.build (revision ac12b601)
1gen = [
2  decodetree.process('mips32r6.decode', extra_args: '--static-decode=decode_mips32r6'),
3  decodetree.process('mips64r6.decode', extra_args: '--static-decode=decode_mips64r6'),
4  decodetree.process('msa32.decode', extra_args: '--static-decode=decode_msa32'),
5  decodetree.process('msa64.decode', extra_args: '--static-decode=decode_msa64'),
6  decodetree.process('tx79.decode', extra_args: '--static-decode=decode_tx79'),
7]
8
9mips_ss.add(gen)
10mips_ss.add(files(
11  'dsp_helper.c',
12  'exception.c',
13  'fpu_helper.c',
14  'ldst_helper.c',
15  'lmmi_helper.c',
16  'msa_helper.c',
17  'msa_translate.c',
18  'op_helper.c',
19  'rel6_translate.c',
20  'translate.c',
21  'translate_addr_const.c',
22  'txx9_translate.c',
23))
24mips_ss.add(when: 'TARGET_MIPS64', if_true: files(
25  'tx79_translate.c',
26), if_false: files(
27  'mxu_translate.c',
28))
29
30if have_user
31  subdir('user')
32endif
33if have_system
34  subdir('sysemu')
35endif
36