Uses clz and bsr instructions for bit counting on ARM64 platforms as well.

git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1413 632fc199-4ca6-4c93-a231-07263d6284db
This commit is contained in:
DRC
2014-11-18 15:53:34 +00:00
parent e3ce6852a6
commit f7067a9e73
2 changed files with 4 additions and 1 deletions

View File

@@ -37,7 +37,7 @@
*/
/* NOTE: Both GCC and Clang define __GNUC__ */
#if defined __GNUC__ && defined __arm__
#if defined __GNUC__ && (defined __arm__ || defined __aarch64__)
#if !defined __thumb__ || defined __thumb2__
#define USE_CLZ_INTRINSIC
#endif