remove __ARM_FEATURE_CRC32 workaround

Just noticed that this is no longer set for -arch arm64
(but is, correctly, for -arch arm64e).

Change-Id: I607bb052ce67f91186852156d832d97eed33788b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/313239
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
This commit is contained in:
Mike Klein 2020-08-25 16:40:25 -05:00 committed by Skia Commit-Bot
parent ad5494d1d9
commit 62a0f15f33

View File

@ -165,9 +165,7 @@
#define SK_ARM_HAS_NEON
#endif
// Really this __APPLE__ check shouldn't be necessary, but it seems that Apple's Clang defines
// __ARM_FEATURE_CRC32 for -arch arm64, even though their chips don't support those instructions!
#if defined(__ARM_FEATURE_CRC32) && !defined(__APPLE__)
#if defined(__ARM_FEATURE_CRC32)
#define SK_ARM_HAS_CRC32
#endif