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 29e4860..990bad1 100644
--- a/tcg/loongarch64/tcg-target.h
+++ b/tcg/loongarch64/tcg-target.h
@@ -171,7 +171,7 @@ typedef enum {
#define TCG_TARGET_HAS_tst 0
-#define TCG_TARGET_HAS_v64 0
+#define TCG_TARGET_HAS_v64 (cpuinfo & CPUINFO_LSX)
#define TCG_TARGET_HAS_v128 (cpuinfo & CPUINFO_LSX)
#define TCG_TARGET_HAS_v256 0