From 43726125a6d60f08a7faddaa784733c2f64622a2 Mon Sep 17 00:00:00 2001 From: Larry Ewing Date: Fri, 9 May 2025 10:47:20 -0500 Subject: [PATCH 1/2] Exclude 32bit more --- src/mono/mono/mini/intrinsics.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mono/mono/mini/intrinsics.c b/src/mono/mono/mini/intrinsics.c index 8c4edcb988ba0d..7b81c9c1967a4c 100644 --- a/src/mono/mono/mini/intrinsics.c +++ b/src/mono/mono/mini/intrinsics.c @@ -743,6 +743,7 @@ MONO_RESTORE_WARNING else if (tfrom_type == MONO_TYPE_U) tfrom_type = MONO_TYPE_U8; #endif +#if TARGET_SIZEOF_VOID_P == 8 || defined(TARGET_WASM) if ((tfrom_type == MONO_TYPE_R8) && ((tto_type == MONO_TYPE_I8) || (tto_type == MONO_TYPE_U8))) { opcode = OP_MOVE_F_TO_I8; tto_stack = STACK_I8; @@ -754,6 +755,9 @@ MONO_RESTORE_WARNING tto_stack = STACK_I8; } } +#else + return NULL; +#endif } else if (mini_class_is_simd (cfg, tfrom_klass) && mini_class_is_simd (cfg, tto_klass)) { #if TARGET_SIZEOF_VOID_P == 8 || defined(TARGET_WASM) opcode = OP_XCAST; From 91c84b5a5de23d32385fd415fccbb7175549dc6a Mon Sep 17 00:00:00 2001 From: Larry Ewing Date: Fri, 9 May 2025 11:04:13 -0500 Subject: [PATCH 2/2] fix build --- src/mono/mono/mini/intrinsics.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mono/mono/mini/intrinsics.c b/src/mono/mono/mini/intrinsics.c index 7b81c9c1967a4c..273bf42ee3d98c 100644 --- a/src/mono/mono/mini/intrinsics.c +++ b/src/mono/mono/mini/intrinsics.c @@ -754,10 +754,10 @@ MONO_RESTORE_WARNING opcode = OP_MOVE; tto_stack = STACK_I8; } - } #else - return NULL; + return NULL; #endif + } } else if (mini_class_is_simd (cfg, tfrom_klass) && mini_class_is_simd (cfg, tto_klass)) { #if TARGET_SIZEOF_VOID_P == 8 || defined(TARGET_WASM) opcode = OP_XCAST;