xref: /qemu/target/arm/tcg/meson.build (revision 4a1babe5)
1gen_a64 = [
2  decodetree.process('a64.decode', extra_args: ['--static-decode=disas_a64']),
3  decodetree.process('sve.decode', extra_args: '--decode=disas_sve'),
4  decodetree.process('sme.decode', extra_args: '--decode=disas_sme'),
5  decodetree.process('sme-fa64.decode', extra_args: '--static-decode=disas_sme_fa64'),
6]
7
8gen_a32 = [
9  decodetree.process('neon-shared.decode', extra_args: '--decode=disas_neon_shared'),
10  decodetree.process('neon-dp.decode', extra_args: '--decode=disas_neon_dp'),
11  decodetree.process('neon-ls.decode', extra_args: '--decode=disas_neon_ls'),
12  decodetree.process('vfp.decode', extra_args: '--decode=disas_vfp'),
13  decodetree.process('vfp-uncond.decode', extra_args: '--decode=disas_vfp_uncond'),
14  decodetree.process('m-nocp.decode', extra_args: '--decode=disas_m_nocp'),
15  decodetree.process('mve.decode', extra_args: '--decode=disas_mve'),
16  decodetree.process('a32.decode', extra_args: '--static-decode=disas_a32'),
17  decodetree.process('a32-uncond.decode', extra_args: '--static-decode=disas_a32_uncond'),
18  decodetree.process('t32.decode', extra_args: '--static-decode=disas_t32'),
19  decodetree.process('t16.decode', extra_args: ['-w', '16', '--static-decode=disas_t16']),
20]
21
22arm_ss.add(gen_a32)
23arm_ss.add(when: 'TARGET_AARCH64', if_true: gen_a64)
24
25arm_ss.add(files(
26  'cpu32.c',
27  'translate.c',
28  'translate-m-nocp.c',
29  'translate-mve.c',
30  'translate-neon.c',
31  'translate-vfp.c',
32  'crypto_helper.c',
33  'hflags.c',
34  'iwmmxt_helper.c',
35  'm_helper.c',
36  'mve_helper.c',
37  'neon_helper.c',
38  'op_helper.c',
39  'tlb_helper.c',
40  'vec_helper.c',
41))
42
43arm_ss.add(when: 'TARGET_AARCH64', if_true: files(
44  'cpu64.c',
45  'translate-a64.c',
46  'translate-sve.c',
47  'translate-sme.c',
48  'helper-a64.c',
49  'mte_helper.c',
50  'pauth_helper.c',
51  'sme_helper.c',
52  'sve_helper.c',
53))
54
55arm_system_ss.add(files(
56  'psci.c',
57))
58
59arm_system_ss.add(when: 'CONFIG_ARM_V7M', if_true: files('cpu-v7m.c'))
60arm_user_ss.add(when: 'TARGET_AARCH64', if_false: files('cpu-v7m.c'))
61