]> Git Repo - qemu.git/blame - target/riscv/meson.build
target/riscv: optimize helper for vmv<nr>r.v
[qemu.git] / target / riscv / meson.build
CommitLineData
abff1abf
PB
1# FIXME extra_args should accept files()
2dir = meson.current_source_dir()
abff1abf 3
6baba30a
AF
4gen = [
5 decodetree.process('insn16.decode', extra_args: ['--static-decode=decode_insn16', '--insnwidth=16']),
daf866b6 6 decodetree.process('insn32.decode', extra_args: '--static-decode=decode_insn32'),
0d429bd2 7 decodetree.process('XVentanaCondOps.decode', extra_args: '--static-decode=decode_XVentanaCodeOps'),
abff1abf
PB
8]
9
10riscv_ss = ss.source_set()
6baba30a 11riscv_ss.add(gen)
abff1abf
PB
12riscv_ss.add(files(
13 'cpu.c',
14 'cpu_helper.c',
15 'csr.c',
16 'fpu_helper.c',
17 'gdbstub.c',
18 'op_helper.c',
19 'vector_helper.c',
831ec7f3 20 'bitmanip_helper.c',
abff1abf 21 'translate.c',
b3a5d1fb 22 'm128_helper.c'
abff1abf 23))
ad40be27 24riscv_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c'), if_false: files('kvm-stub.c'))
abff1abf
PB
25
26riscv_softmmu_ss = ss.source_set()
27riscv_softmmu_ss.add(files(
43a96588 28 'arch_dump.c',
abff1abf 29 'pmp.c',
95799e36 30 'debug.c',
f7697f0e
YJ
31 'monitor.c',
32 'machine.c'
abff1abf
PB
33))
34
35target_arch += {'riscv': riscv_ss}
36target_softmmu_arch += {'riscv': riscv_softmmu_ss}
This page took 0.113552 seconds and 4 git commands to generate.