meson.build (0a31c16c9ce2639c8706b9f863724ba42a46f121) meson.build (85d8da3fea0c4ff38bbe759febfc2d2299b33ccd)
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_user_ss = ss.source_set()
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_user_ss = ss.source_set()
10mips_softmmu_ss = ss.source_set()
10mips_ss = ss.source_set()
11mips_ss.add(files(
12 'cpu.c',
13 'fpu.c',
14 'gdbstub.c',
15 'msa.c',
16))
11mips_ss = ss.source_set()
12mips_ss.add(files(
13 'cpu.c',
14 'fpu.c',
15 'gdbstub.c',
16 'msa.c',
17))
18
19if have_system
20 subdir('sysemu')
21endif
22
17mips_tcg_ss = ss.source_set()
18mips_tcg_ss.add(gen)
19mips_tcg_ss.add(files(
20 'dsp_helper.c',
21 'fpu_helper.c',
22 'ldst_helper.c',
23 'lmmi_helper.c',
24 'msa_helper.c',

--- 11 unchanged lines hidden (view full) ---

36 'mxu_translate.c',
37))
38if 'CONFIG_TCG' in config_all
39 subdir('tcg')
40endif
41
42mips_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c'))
43
23mips_tcg_ss = ss.source_set()
24mips_tcg_ss.add(gen)
25mips_tcg_ss.add(files(
26 'dsp_helper.c',
27 'fpu_helper.c',
28 'ldst_helper.c',
29 'lmmi_helper.c',
30 'msa_helper.c',

--- 11 unchanged lines hidden (view full) ---

42 'mxu_translate.c',
43))
44if 'CONFIG_TCG' in config_all
45 subdir('tcg')
46endif
47
48mips_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c'))
49
44mips_softmmu_ss = ss.source_set()
45mips_softmmu_ss.add(files(
46 'addr.c',
47 'cp0_timer.c',
48 'machine.c',
49))
50mips_softmmu_ss.add(when: 'CONFIG_TCG', if_true: files(
51 'cp0_helper.c',
52 'mips-semi.c',
53))
54
55mips_ss.add_all(when: 'CONFIG_TCG', if_true: [mips_tcg_ss])
56
57target_arch += {'mips': mips_ss}
58target_softmmu_arch += {'mips': mips_softmmu_ss}
59target_user_arch += {'mips': mips_user_ss}
50mips_softmmu_ss.add(when: 'CONFIG_TCG', if_true: files(
51 'cp0_helper.c',
52 'mips-semi.c',
53))
54
55mips_ss.add_all(when: 'CONFIG_TCG', if_true: [mips_tcg_ss])
56
57target_arch += {'mips': mips_ss}
58target_softmmu_arch += {'mips': mips_softmmu_ss}
59target_user_arch += {'mips': mips_user_ss}