mirror of
https://github.com/qemu/qemu.git
synced 2026-07-08 17:46:10 +00:00
Add the Octeon COP2 crypto helper source file and build it with the MIPS TCG target. This provides the common compilation unit for the COP2 engine helpers. The instruction dispatch itself remains fully decoded by decodetree, and operation selectors call per-operation helpers rather than a common selector-dispatch helper. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-ID: <20260608-mips-octeon-missing-insns-v2-v16-2-daef7a0d8b04@gmail.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
42 lines
1.2 KiB
Meson
42 lines
1.2 KiB
Meson
gen = [
|
|
decodetree.process('rel6.decode', extra_args: ['--decode=decode_isa_rel6']),
|
|
decodetree.process('msa.decode', extra_args: '--decode=decode_ase_msa'),
|
|
decodetree.process('tx79.decode', extra_args: '--static-decode=decode_tx79'),
|
|
decodetree.process('vr54xx.decode', extra_args: '--decode=decode_ext_vr54xx'),
|
|
decodetree.process('octeon.decode', extra_args: '--decode=decode_ext_octeon'),
|
|
decodetree.process('lcsr.decode', extra_args: '--decode=decode_ase_lcsr'),
|
|
decodetree.process('godson2.decode', extra_args: ['--static-decode=decode_godson2']),
|
|
decodetree.process('loong-ext.decode', extra_args: ['--static-decode=decode_loong_ext']),
|
|
]
|
|
|
|
mips_ss.add(gen)
|
|
mips_ss.add(files(
|
|
'dsp_helper.c',
|
|
'exception.c',
|
|
'fpu_helper.c',
|
|
'ldst_helper.c',
|
|
'lmmi_helper.c',
|
|
'msa_helper.c',
|
|
'msa_translate.c',
|
|
'octeon_crypto.c',
|
|
'op_helper.c',
|
|
'rel6_translate.c',
|
|
'translate.c',
|
|
'translate_addr_const.c',
|
|
'txx9_translate.c',
|
|
'vr54xx_helper.c',
|
|
'vr54xx_translate.c',
|
|
))
|
|
mips_ss.add(when: 'TARGET_MIPS64', if_true: files(
|
|
'tx79_translate.c',
|
|
'octeon_translate.c',
|
|
'lcsr_translate.c',
|
|
'loong_translate.c',
|
|
), if_false: files(
|
|
'mxu_translate.c',
|
|
))
|
|
|
|
if have_system
|
|
subdir('system')
|
|
endif
|