ARM64 Windows are supported on ARMv8 CPUs only, so just assume that we have
the NEON and EDSP ARM instructions.
/***** arm *****/
-#if defined (__arm__) || defined (__aarch64__)
+#if defined (__arm__) || defined (__aarch64__) || defined (_M_ARM64)
#if 0
static unsigned long
orc_profile_stamp_xscale(void)
char **flags;
char **f;
+#if defined (_WIN32) && defined (_M_ARM64)
+ /* On Windows, for desktop applications, we are on always on ARMv8 (aarch64)*/
+ ret = ORC_TARGET_ARM_EDSP | ORC_TARGET_NEON_NEON;
+#else
cpuinfo = get_proc_cpuinfo();
if (cpuinfo == NULL) {
ORC_DEBUG ("Failed to read /proc/cpuinfo");
out:
free (cpuinfo_line);
free (cpuinfo);
+#endif
return ret;
}