diff options
author | Song Gao <gaosong@loongson.cn> | 2023-09-14 10:25:49 +0800 |
---|---|---|
committer | Song Gao <gaosong@loongson.cn> | 2023-09-20 11:43:06 +0800 |
commit | 1dc33f2653ab8c564f0e4371166d2dec4c622dcd (patch) | |
tree | 344c6370eb884bf747a225ca3dc8a9af8282e77e /target/loongarch | |
parent | 4907644841e3200aea6475c0f72d3d987e9f3d93 (diff) | |
download | qemu-1dc33f2653ab8c564f0e4371166d2dec4c622dcd.zip qemu-1dc33f2653ab8c564f0e4371166d2dec4c622dcd.tar.gz qemu-1dc33f2653ab8c564f0e4371166d2dec4c622dcd.tar.bz2 |
target/loongarch: Renamed lsx*.c to vec* .c
Renamed lsx_helper.c to vec_helper.c and trans_lsx.c.inc to trans_vec.c.inc
So LASX can used them.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-2-gaosong@loongson.cn>
Diffstat (limited to 'target/loongarch')
-rw-r--r-- | target/loongarch/insn_trans/trans_vec.c.inc (renamed from target/loongarch/insn_trans/trans_lsx.c.inc) | 2 | ||||
-rw-r--r-- | target/loongarch/meson.build | 2 | ||||
-rw-r--r-- | target/loongarch/translate.c | 2 | ||||
-rw-r--r-- | target/loongarch/vec_helper.c (renamed from target/loongarch/lsx_helper.c) | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/target/loongarch/insn_trans/trans_lsx.c.inc b/target/loongarch/insn_trans/trans_vec.c.inc index 5fbf271..aed5bac 100644 --- a/target/loongarch/insn_trans/trans_lsx.c.inc +++ b/target/loongarch/insn_trans/trans_vec.c.inc @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */ /* - * LSX translate functions + * LoongArch vector translate functions * Copyright (c) 2022-2023 Loongson Technology Corporation Limited */ diff --git a/target/loongarch/meson.build b/target/loongarch/meson.build index b7a27df..7fbf045 100644 --- a/target/loongarch/meson.build +++ b/target/loongarch/meson.build @@ -11,7 +11,7 @@ loongarch_tcg_ss.add(files( 'op_helper.c', 'translate.c', 'gdbstub.c', - 'lsx_helper.c', + 'vec_helper.c', )) loongarch_tcg_ss.add(zlib) diff --git a/target/loongarch/translate.c b/target/loongarch/translate.c index fd393ed..2887271 100644 --- a/target/loongarch/translate.c +++ b/target/loongarch/translate.c @@ -261,7 +261,7 @@ static uint64_t make_address_pc(DisasContext *ctx, uint64_t addr) #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" +#include "insn_trans/trans_vec.c.inc" static void loongarch_tr_translate_insn(DisasContextBase *dcbase, CPUState *cs) { diff --git a/target/loongarch/lsx_helper.c b/target/loongarch/vec_helper.c index 9571f0a..73f0974 100644 --- a/target/loongarch/lsx_helper.c +++ b/target/loongarch/vec_helper.c @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */ /* - * QEMU LoongArch LSX helper functions. + * QEMU LoongArch vector helper functions. * * Copyright (c) 2022-2023 Loongson Technology Corporation Limited */ |