From 464ed10fa95cc764938073a2d1fe29e2be153300 Mon Sep 17 00:00:00 2001 From: James Zern Date: Fri, 4 Dec 2015 18:25:23 -0800 Subject: [PATCH] bit_reader: remove aarch64 BITS TODO set BITS=56 in this case as it's mildly better on iOS (Xcode 7) and Android (r10e + gcc-4.9) Change-Id: I3265021a3572987d01edfafd5c1431207f07a170 --- src/utils/bit_reader.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/utils/bit_reader.h b/src/utils/bit_reader.h index 0fc62d33..ec3426cd 100644 --- a/src/utils/bit_reader.h +++ b/src/utils/bit_reader.h @@ -43,10 +43,12 @@ extern "C" { #define BITS 56 #elif defined(__arm__) || defined(_M_ARM) // ARM #define BITS 24 +#elif defined(__aarch64__) // ARM 64bit +#define BITS 56 #elif defined(__mips__) // MIPS #define BITS 24 #else // reasonable default -#define BITS 24 // TODO(skal): test aarch64 and find the proper BITS value. +#define BITS 24 #endif //------------------------------------------------------------------------------