From af60ff0218596e830bda5b41e49673bc76b347cd Mon Sep 17 00:00:00 2001 From: Imran Hameed Date: Thu, 6 May 2021 15:04:27 -0400 Subject: [PATCH] Debugging: try unconditionally enabling RDM and DP --- src/mono/mono/mini/mini-llvm.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/mono/mono/mini/mini-llvm.c b/src/mono/mono/mini/mini-llvm.c index 7d563842c1610..8f531d18742b9 100644 --- a/src/mono/mono/mini/mini-llvm.c +++ b/src/mono/mono/mini/mini-llvm.c @@ -13604,8 +13604,12 @@ MonoCPUFeatures mono_llvm_get_cpu_features (void) { "inited", MONO_CPU_INITED}, #endif }; - if (!cpu_features) + if (!cpu_features) { cpu_features = MONO_CPU_INITED | (MonoCPUFeatures)mono_llvm_check_cpu_features (flags_map, G_N_ELEMENTS (flags_map)); + #if defined(TARGET_ARM64) + cpu_features |= MONO_CPU_ARM64_RDM | MONO_CPU_ARM64_DP; + #endif + } return cpu_features; }