Skip to content

Commit 1db2101

Browse files
authored
[mono] Exclude 32bit more (#115426)
Fix unintentional 32bit arm/x86 mono platform breakage
1 parent e67e997 commit 1db2101

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/mono/mono/mini/intrinsics.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -743,6 +743,7 @@ MONO_RESTORE_WARNING
743743
else if (tfrom_type == MONO_TYPE_U)
744744
tfrom_type = MONO_TYPE_U8;
745745
#endif
746+
#if TARGET_SIZEOF_VOID_P == 8 || defined(TARGET_WASM)
746747
if ((tfrom_type == MONO_TYPE_R8) && ((tto_type == MONO_TYPE_I8) || (tto_type == MONO_TYPE_U8))) {
747748
opcode = OP_MOVE_F_TO_I8;
748749
tto_stack = STACK_I8;
@@ -753,6 +754,9 @@ MONO_RESTORE_WARNING
753754
opcode = OP_MOVE;
754755
tto_stack = STACK_I8;
755756
}
757+
#else
758+
return NULL;
759+
#endif
756760
}
757761
} else if (mini_class_is_simd (cfg, tfrom_klass) && mini_class_is_simd (cfg, tto_klass)) {
758762
#if TARGET_SIZEOF_VOID_P == 8 || defined(TARGET_WASM)

0 commit comments

Comments
 (0)