xref: /openbmc/qemu/target/arm/tcg/meson.build (revision 2cf382d4)
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  'crypto_helper.c',
34  'hflags.c',
35  'iwmmxt_helper.c',
36  'm_helper.c',
37  'mve_helper.c',
38  'neon_helper.c',
39  'op_helper.c',
40  'tlb_helper.c',
41  'vec_helper.c',
42))
43
44arm_ss.add(when: 'TARGET_AARCH64', if_true: files(
45  'cpu64.c',
46  'gengvec64.c',
47  'translate-a64.c',
48  'translate-sve.c',
49  'translate-sme.c',
50  'helper-a64.c',
51  'mte_helper.c',
52  'pauth_helper.c',
53  'sme_helper.c',
54  'sve_helper.c',
55))
56
57arm_system_ss.add(files(
58  'psci.c',
59))
60
61arm_system_ss.add(when: 'CONFIG_ARM_V7M', if_true: files('cpu-v7m.c'))
62arm_user_ss.add(when: 'TARGET_AARCH64', if_false: files('cpu-v7m.c'))
63