master
build 100 lines 2.55 KB
Raw
1 gen_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
8 vfp_d = [
9 decodetree.process('vfp.decode', extra_args: '--decode=disas_vfp'),
10 decodetree.process('vfp-uncond.decode', extra_args: '--decode=disas_vfp_uncond'),
11 ]
12
13 neon_d = [
14 decodetree.process('neon-shared.decode', extra_args: '--decode=disas_neon_shared'),
15 decodetree.process('neon-dp.decode', extra_args: '--decode=disas_neon_dp'),
16 decodetree.process('neon-ls.decode', extra_args: '--decode=disas_neon_ls'),
17 ]
18
19 mve_d = decodetree.process('mve.decode', extra_args: '--decode=disas_mve')
20
21 m_nocp_d = decodetree.process('m-nocp.decode', extra_args: '--decode=disas_m_nocp')
22
23 translate32_d = [
24 decodetree.process('a32.decode', extra_args: '--static-decode=disas_a32'),
25 decodetree.process('a32-uncond.decode', extra_args: '--static-decode=disas_a32_uncond'),
26 decodetree.process('t32.decode', extra_args: '--static-decode=disas_t32'),
27 decodetree.process('t16.decode', extra_args: ['-w', '16', '--static-decode=disas_t16']),
28 ]
29
30 arm_ss.add(when: 'TARGET_AARCH64', if_true: gen_a64)
31 arm_stubs_ss.add(files('stubs32.c'))
32
33 arm_ss.add(when: 'TARGET_AARCH64', if_true: files(
34 'gengvec64.c',
35 'translate-a64.c',
36 'translate-sve.c',
37 'translate-sme.c',
38 'helper-a64.c',
39 'mte_helper.c',
40 'pauth_helper.c',
41 'sme_helper.c',
42 'sve_helper.c',
43 'vec_helper64.c',
44 'fp8_helper.c',
45 ))
46
47 arm_common_system_ss.add(when: 'CONFIG_ARM_V7M', if_true: files('cpu-v7m.c'))
48 arm_user_ss.add(when: 'TARGET_AARCH64', if_false: files(
49 'cpu-v7m.c',
50 'cpu32.c',
51 ))
52
53 arm_common_ss.add(zlib)
54 arm_common_ss.add(files(
55 'arith_helper.c',
56 'crypto_helper.c',
57 'idau.c',
58 ))
59
60 arm_common_user_system_ss.add(
61 m_nocp_d,
62 mve_d,
63 neon_d,
64 translate32_d,
65 vfp_d,
66 files(
67 'cpu-max-v8.c',
68 'debug.c',
69 'gengvec.c',
70 'hflags.c',
71 'm_helper.c',
72 'mve_helper.c',
73 'neon_helper.c',
74 'op_helper.c',
75 'translate.c',
76 'translate-m-nocp.c',
77 'translate-mve.c',
78 'translate-neon.c',
79 'translate-vfp.c',
80 'vec_helper.c',
81 'vfp_helper.c',
82 ))
83 arm_common_user_system_ss.add(when: 'TARGET_AARCH64', if_true: files(
84 'cpu64.c',
85 ))
86
87 arm_common_system_ss.add(files(
88 'cpu32.c',
89 'cpregs-at.c',
90 'gicv5-cpuif.c',
91 'psci.c',
92 'tlb_helper.c',
93 'tlb-insns.c',
94 ))
95 arm_common_system_ss.add(when: 'CONFIG_ARM_GICV5', if_true: files(
96 'gicv5-cpuif.c',
97 ))
98 arm_user_ss.add(files(
99 'tlb_helper.c',
100 ))