xref: /qemu/target/arm/tcg/meson.build (revision 3e82ddaa8db260a232dbbbf488d8ac7851d124c5)
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  'gengvec.c',
28  'translate.c',
29  'translate-m-nocp.c',
30  'translate-mve.c',
31  'translate-neon.c',
32  'translate-vfp.c',
33  'm_helper.c',
34  'mve_helper.c',
35  'op_helper.c',
36  'vec_helper.c',
37))
38
39arm_ss.add(when: 'TARGET_AARCH64', if_true: files(
40  'cpu64.c',
41  'gengvec64.c',
42  'translate-a64.c',
43  'translate-sve.c',
44  'translate-sme.c',
45  'helper-a64.c',
46  'mte_helper.c',
47  'pauth_helper.c',
48  'sme_helper.c',
49  'sve_helper.c',
50))
51
52arm_system_ss.add(files(
53  'psci.c',
54))
55
56arm_system_ss.add(when: 'CONFIG_ARM_V7M', if_true: files('cpu-v7m.c'))
57arm_user_ss.add(when: 'TARGET_AARCH64', if_false: files('cpu-v7m.c'))
58
59arm_common_ss.add(zlib)
60
61arm_common_ss.add(files(
62  'arith_helper.c',
63  'crypto_helper.c',
64))
65
66arm_common_system_ss.add(files(
67  'hflags.c',
68  'iwmmxt_helper.c',
69  'neon_helper.c',
70  'tlb_helper.c',
71  'tlb-insns.c',
72  'vfp_helper.c',
73))
74arm_user_ss.add(files(
75  'hflags.c',
76  'iwmmxt_helper.c',
77  'neon_helper.c',
78  'tlb_helper.c',
79  'vfp_helper.c',
80))
81