2023-07-18 13:46:28 +03:00
|
|
|
gen_a64 = [
|
|
|
|
decodetree.process('a64.decode', extra_args: ['--static-decode=disas_a64']),
|
2023-02-17 23:11:29 +03:00
|
|
|
decodetree.process('sve.decode', extra_args: '--decode=disas_sve'),
|
|
|
|
decodetree.process('sme.decode', extra_args: '--decode=disas_sme'),
|
|
|
|
decodetree.process('sme-fa64.decode', extra_args: '--static-decode=disas_sme_fa64'),
|
2023-07-18 13:46:28 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
gen_a32 = [
|
2023-02-17 23:11:29 +03:00
|
|
|
decodetree.process('neon-shared.decode', extra_args: '--decode=disas_neon_shared'),
|
|
|
|
decodetree.process('neon-dp.decode', extra_args: '--decode=disas_neon_dp'),
|
|
|
|
decodetree.process('neon-ls.decode', extra_args: '--decode=disas_neon_ls'),
|
|
|
|
decodetree.process('vfp.decode', extra_args: '--decode=disas_vfp'),
|
|
|
|
decodetree.process('vfp-uncond.decode', extra_args: '--decode=disas_vfp_uncond'),
|
|
|
|
decodetree.process('m-nocp.decode', extra_args: '--decode=disas_m_nocp'),
|
|
|
|
decodetree.process('mve.decode', extra_args: '--decode=disas_mve'),
|
|
|
|
decodetree.process('a32.decode', extra_args: '--static-decode=disas_a32'),
|
|
|
|
decodetree.process('a32-uncond.decode', extra_args: '--static-decode=disas_a32_uncond'),
|
|
|
|
decodetree.process('t32.decode', extra_args: '--static-decode=disas_t32'),
|
|
|
|
decodetree.process('t16.decode', extra_args: ['-w', '16', '--static-decode=disas_t16']),
|
|
|
|
]
|
|
|
|
|
2023-07-18 13:46:28 +03:00
|
|
|
arm_ss.add(gen_a32)
|
|
|
|
arm_ss.add(when: 'TARGET_AARCH64', if_true: gen_a64)
|
2023-02-17 23:11:29 +03:00
|
|
|
|
|
|
|
arm_ss.add(files(
|
2023-04-26 21:00:07 +03:00
|
|
|
'cpu32.c',
|
2023-02-17 23:11:29 +03:00
|
|
|
'translate.c',
|
|
|
|
'translate-m-nocp.c',
|
|
|
|
'translate-mve.c',
|
|
|
|
'translate-neon.c',
|
|
|
|
'translate-vfp.c',
|
2023-02-17 23:11:30 +03:00
|
|
|
'crypto_helper.c',
|
2023-02-17 23:11:33 +03:00
|
|
|
'hflags.c',
|
2023-02-17 23:11:30 +03:00
|
|
|
'iwmmxt_helper.c',
|
|
|
|
'm_helper.c',
|
|
|
|
'mve_helper.c',
|
|
|
|
'neon_helper.c',
|
|
|
|
'op_helper.c',
|
|
|
|
'tlb_helper.c',
|
|
|
|
'vec_helper.c',
|
2023-02-17 23:11:29 +03:00
|
|
|
))
|
|
|
|
|
|
|
|
arm_ss.add(when: 'TARGET_AARCH64', if_true: files(
|
2023-04-26 21:00:05 +03:00
|
|
|
'cpu64.c',
|
2023-02-17 23:11:29 +03:00
|
|
|
'translate-a64.c',
|
|
|
|
'translate-sve.c',
|
|
|
|
'translate-sme.c',
|
2023-02-17 23:11:30 +03:00
|
|
|
'helper-a64.c',
|
|
|
|
'mte_helper.c',
|
|
|
|
'pauth_helper.c',
|
|
|
|
'sme_helper.c',
|
|
|
|
'sve_helper.c',
|
2023-02-17 23:11:29 +03:00
|
|
|
))
|
2023-02-17 23:11:31 +03:00
|
|
|
|
2023-06-13 16:33:47 +03:00
|
|
|
arm_system_ss.add(files(
|
2023-02-17 23:11:31 +03:00
|
|
|
'psci.c',
|
|
|
|
))
|