target/loongarch: meson.build support build LSX
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Song Gao <gaosong@loongson.cn> Message-Id: <20230504122810.4094787-3-gaosong@loongson.cn>
This commit is contained in:
parent
16f5396cec
commit
a0c9400a5b
5
target/loongarch/insn_trans/trans_lsx.c.inc
Normal file
5
target/loongarch/insn_trans/trans_lsx.c.inc
Normal file
@ -0,0 +1,5 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
/*
|
||||
* LSX translate functions
|
||||
* Copyright (c) 2022-2023 Loongson Technology Corporation Limited
|
||||
*/
|
6
target/loongarch/lsx_helper.c
Normal file
6
target/loongarch/lsx_helper.c
Normal file
@ -0,0 +1,6 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
/*
|
||||
* QEMU LoongArch LSX helper functions.
|
||||
*
|
||||
* Copyright (c) 2022-2023 Loongson Technology Corporation Limited
|
||||
*/
|
@ -11,6 +11,7 @@ loongarch_tcg_ss.add(files(
|
||||
'op_helper.c',
|
||||
'translate.c',
|
||||
'gdbstub.c',
|
||||
'lsx_helper.c',
|
||||
))
|
||||
loongarch_tcg_ss.add(zlib)
|
||||
|
||||
|
@ -171,6 +171,7 @@ static void gen_set_gpr(int reg_num, TCGv t, DisasExtend dst_ext)
|
||||
#include "insn_trans/trans_fmemory.c.inc"
|
||||
#include "insn_trans/trans_branch.c.inc"
|
||||
#include "insn_trans/trans_privileged.c.inc"
|
||||
#include "insn_trans/trans_lsx.c.inc"
|
||||
|
||||
static void loongarch_tr_translate_insn(DisasContextBase *dcbase, CPUState *cs)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user