Fixed aarch64 support for gcc
authorkhizmax <libcds.dev@gmail.com>
Tue, 28 Feb 2017 18:28:54 +0000 (21:28 +0300)
committerkhizmax <libcds.dev@gmail.com>
Tue, 28 Feb 2017 18:28:54 +0000 (21:28 +0300)
cds/compiler/gcc/compiler_macro.h

index d97e178..6eb0565 100644 (file)
 #    define CDS_BUILD_BITS        32
 #    define CDS_PROCESSOR__NAME   "ARM v7"
 #    define CDS_PROCESSOR__NICK   "arm7"
-#elif defined(__arm__) && __ARM_ARCH >= 8
+#elif ( defined(__arm__)  || defined(__aarch64__)) && __ARM_ARCH >= 8
 #    define CDS_PROCESSOR_ARCH    CDS_PROCESSOR_ARM8
 #    define CDS_BUILD_BITS        64
 #    define CDS_PROCESSOR__NAME   "ARM v8"