From fb8a4f7507a5593b53e4e527e5651e881d53f270 Mon Sep 17 00:00:00 2001 From: lazymio Date: Mon, 14 Apr 2025 23:10:26 +0800 Subject: [PATCH] Fix --- qemu/tcg/loongarch64/tcg-target.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qemu/tcg/loongarch64/tcg-target.h b/qemu/tcg/loongarch64/tcg-target.h index 4900a996..4578e7ca 100644 --- a/qemu/tcg/loongarch64/tcg-target.h +++ b/qemu/tcg/loongarch64/tcg-target.h @@ -185,10 +185,11 @@ typedef enum { #define TCG_TARGET_HAS_mulsh_i64 1 #define TCG_TARGET_HAS_direct_jump 0 -#define TCG_TARGET_HAS_qemu_ldst_i128 s->use_lsx_instructions +// TODO: use_lsx_instructions? +#define TCG_TARGET_HAS_qemu_ldst_i128 1 #define TCG_TARGET_HAS_v64 0 -#define TCG_TARGET_HAS_v128 s->use_lsx_instructions +#define TCG_TARGET_HAS_v128 1 #define TCG_TARGET_HAS_v256 0 #define TCG_TARGET_HAS_not_vec 1