171054f72SPeter Maydellgen_a64 = [ 271054f72SPeter Maydell decodetree.process('a64.decode', extra_args: ['--static-decode=disas_a64']), 3f0984d40SFabiano Rosas decodetree.process('sve.decode', extra_args: '--decode=disas_sve'), 4f0984d40SFabiano Rosas decodetree.process('sme.decode', extra_args: '--decode=disas_sme'), 5f0984d40SFabiano Rosas decodetree.process('sme-fa64.decode', extra_args: '--static-decode=disas_sme_fa64'), 671054f72SPeter Maydell] 771054f72SPeter Maydell 871054f72SPeter Maydellgen_a32 = [ 9f0984d40SFabiano Rosas decodetree.process('neon-shared.decode', extra_args: '--decode=disas_neon_shared'), 10f0984d40SFabiano Rosas decodetree.process('neon-dp.decode', extra_args: '--decode=disas_neon_dp'), 11f0984d40SFabiano Rosas decodetree.process('neon-ls.decode', extra_args: '--decode=disas_neon_ls'), 12f0984d40SFabiano Rosas decodetree.process('vfp.decode', extra_args: '--decode=disas_vfp'), 13f0984d40SFabiano Rosas decodetree.process('vfp-uncond.decode', extra_args: '--decode=disas_vfp_uncond'), 14f0984d40SFabiano Rosas decodetree.process('m-nocp.decode', extra_args: '--decode=disas_m_nocp'), 15f0984d40SFabiano Rosas decodetree.process('mve.decode', extra_args: '--decode=disas_mve'), 16f0984d40SFabiano Rosas decodetree.process('a32.decode', extra_args: '--static-decode=disas_a32'), 17f0984d40SFabiano Rosas decodetree.process('a32-uncond.decode', extra_args: '--static-decode=disas_a32_uncond'), 18f0984d40SFabiano Rosas decodetree.process('t32.decode', extra_args: '--static-decode=disas_t32'), 19f0984d40SFabiano Rosas decodetree.process('t16.decode', extra_args: ['-w', '16', '--static-decode=disas_t16']), 20f0984d40SFabiano Rosas] 21f0984d40SFabiano Rosas 2271054f72SPeter Maydellarm_ss.add(gen_a32) 2371054f72SPeter Maydellarm_ss.add(when: 'TARGET_AARCH64', if_true: gen_a64) 24f0984d40SFabiano Rosas 25f0984d40SFabiano Rosasarm_ss.add(files( 2620cf68efSClaudio Fontana 'cpu32.c', 2709a52d85SRichard Henderson 'gengvec.c', 28f0984d40SFabiano Rosas 'translate.c', 29f0984d40SFabiano Rosas 'translate-m-nocp.c', 30f0984d40SFabiano Rosas 'translate-mve.c', 31f0984d40SFabiano Rosas 'translate-neon.c', 32f0984d40SFabiano Rosas 'translate-vfp.c', 33a3ef070eSClaudio Fontana 'crypto_helper.c', 34671efad1SFabiano Rosas 'hflags.c', 35a3ef070eSClaudio Fontana 'iwmmxt_helper.c', 36a3ef070eSClaudio Fontana 'm_helper.c', 37a3ef070eSClaudio Fontana 'mve_helper.c', 38a3ef070eSClaudio Fontana 'neon_helper.c', 39a3ef070eSClaudio Fontana 'op_helper.c', 40a3ef070eSClaudio Fontana 'tlb_helper.c', 41a3ef070eSClaudio Fontana 'vec_helper.c', 42f0984d40SFabiano Rosas)) 43f0984d40SFabiano Rosas 44f0984d40SFabiano Rosasarm_ss.add(when: 'TARGET_AARCH64', if_true: files( 4539920a04SFabiano Rosas 'cpu64.c', 46*a11efe30SRichard Henderson 'gengvec64.c', 47f0984d40SFabiano Rosas 'translate-a64.c', 48f0984d40SFabiano Rosas 'translate-sve.c', 49f0984d40SFabiano Rosas 'translate-sme.c', 50a3ef070eSClaudio Fontana 'helper-a64.c', 51a3ef070eSClaudio Fontana 'mte_helper.c', 52a3ef070eSClaudio Fontana 'pauth_helper.c', 53a3ef070eSClaudio Fontana 'sme_helper.c', 54a3ef070eSClaudio Fontana 'sve_helper.c', 55f0984d40SFabiano Rosas)) 569def656eSClaudio Fontana 57de6cd759SPhilippe Mathieu-Daudéarm_system_ss.add(files( 589def656eSClaudio Fontana 'psci.c', 599def656eSClaudio Fontana)) 60bbf6c6dbSThomas Huth 61bbf6c6dbSThomas Hutharm_system_ss.add(when: 'CONFIG_ARM_V7M', if_true: files('cpu-v7m.c')) 62bbf6c6dbSThomas Hutharm_user_ss.add(when: 'TARGET_AARCH64', if_false: files('cpu-v7m.c')) 63