aboutsummaryrefslogtreecommitdiff
path: root/tcg/loongarch64/tcg-target.h
diff options
context:
space:
mode:
Diffstat (limited to 'tcg/loongarch64/tcg-target.h')
-rw-r--r--tcg/loongarch64/tcg-target.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/loongarch64/tcg-target.h b/tcg/loongarch64/tcg-target.h
index 67b0a95..0301767 100644
--- a/tcg/loongarch64/tcg-target.h
+++ b/tcg/loongarch64/tcg-target.h
@@ -171,7 +171,7 @@ extern bool use_lsx_instructions;
#define TCG_TARGET_HAS_muluh_i64 1
#define TCG_TARGET_HAS_mulsh_i64 1
-#define TCG_TARGET_HAS_qemu_ldst_i128 0
+#define TCG_TARGET_HAS_qemu_ldst_i128 use_lsx_instructions
#define TCG_TARGET_HAS_v64 0
#define TCG_TARGET_HAS_v128 use_lsx_instructions