mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-28 14:38:21 +01:00
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
This commit is contained in:
parent
d478e58960
commit
464ed10fa9
@ -43,10 +43,12 @@ extern "C" {
|
|||||||
#define BITS 56
|
#define BITS 56
|
||||||
#elif defined(__arm__) || defined(_M_ARM) // ARM
|
#elif defined(__arm__) || defined(_M_ARM) // ARM
|
||||||
#define BITS 24
|
#define BITS 24
|
||||||
|
#elif defined(__aarch64__) // ARM 64bit
|
||||||
|
#define BITS 56
|
||||||
#elif defined(__mips__) // MIPS
|
#elif defined(__mips__) // MIPS
|
||||||
#define BITS 24
|
#define BITS 24
|
||||||
#else // reasonable default
|
#else // reasonable default
|
||||||
#define BITS 24 // TODO(skal): test aarch64 and find the proper BITS value.
|
#define BITS 24
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user