summary refs log tree commit diff stats
path: root/tcg/tcg-has.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2025-01-13 21:13:54 -0800
committerRichard Henderson <richard.henderson@linaro.org>2025-04-28 13:40:17 -0700
commit8dc1bdf79553594287b6c3f9185fe028307aedcb (patch)
tree250adb116f5417a16d242afaafeac16a3ae0429e /tcg/tcg-has.h
parent3db22914ced9bb3683bffa03729608be0c42f666 (diff)
downloadfocaccia-qemu-8dc1bdf79553594287b6c3f9185fe028307aedcb.tar.gz
focaccia-qemu-8dc1bdf79553594287b6c3f9185fe028307aedcb.zip
tcg: Do not default add2/sub2_i32 for 32-bit hosts
Require TCG_TARGET_HAS_{add2,sub2}_i32 be defined,
one way or another.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/tcg-has.h')
-rw-r--r--tcg/tcg-has.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/tcg/tcg-has.h b/tcg/tcg-has.h
index 6125ac677c..50e8d0cda4 100644
--- a/tcg/tcg-has.h
+++ b/tcg/tcg-has.h
@@ -14,9 +14,6 @@
 #define TCG_TARGET_HAS_extr_i64_i32     0
 #define TCG_TARGET_HAS_add2_i64         0
 #define TCG_TARGET_HAS_sub2_i64         0
-/* Turn some undef macros into true macros.  */
-#define TCG_TARGET_HAS_add2_i32         1
-#define TCG_TARGET_HAS_sub2_i32         1
 #endif
 
 #if !defined(TCG_TARGET_HAS_v64) \