Skip to content

Commit 9c75322

Browse files
Vlad - Alexandru IonescuVlad - Alexandru Ionescu
authored andcommitted
Disable mini JIT on arm64
Signed-off-by: Vlad - Alexandru Ionescu <[email protected]>
1 parent c6ef7ac commit 9c75322

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/mono/mono/mini/mini-arm64.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
#include <mono/utils/mono-memory-model.h>
2929
#include <mono/metadata/abi-details.h>
3030
#include <mono/metadata/tokentype.h>
31-
#include "llvm-intrinsics-types.h"
3231

3332
#include "interp/interp.h"
3433

src/mono/mono/mini/simd-intrinsics.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1205,10 +1205,10 @@ emit_sri_vector (MonoCompile *cfg, MonoMethod *cmethod, MonoMethodSignature *fsi
12051205
return NULL;
12061206
#endif
12071207
// FIXME: This limitation could be removed once everything here are supported by mini JIT on arm64
1208-
// #ifdef TARGET_ARM64
1209-
// if (!(cfg->compile_aot && cfg->full_aot && !cfg->interp))
1210-
// return NULL;
1211-
// #endif
1208+
#ifdef TARGET_ARM64
1209+
if (!(cfg->compile_aot && cfg->full_aot && !cfg->interp))
1210+
return NULL;
1211+
#endif
12121212

12131213
int id = lookup_intrins (sri_vector_methods, sizeof (sri_vector_methods), cmethod);
12141214
if (id == -1) {

0 commit comments

Comments
 (0)