Update the check for 64-bit on the M1 to filter out other ARM processors.

This commit is contained in:
John Safranek
2021-04-12 11:17:08 -07:00
parent 3b9e7942ea
commit 74df158c5c

View File

@@ -70,6 +70,11 @@
#define TFM_X86_64
#endif
#endif
#if defined(__aarch64__) && defined(__APPLE__)
#if !defined(TFM_AARCH_64) && !defined(TFM_NO_ASM)
#define TFM_AARCH_64
#endif
#endif
#if defined(TFM_X86_64) || defined(TFM_AARCH_64)
#if !defined(FP_64BIT)
#define FP_64BIT