We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52a2d98 commit 30134e4Copy full SHA for 30134e4
hwy/detect_targets.h
@@ -256,9 +256,10 @@
256
#endif // HWY_BROKEN_ARM7_WITHOUT_VFP4
257
258
#ifndef HWY_BROKEN_NEON_BF16 // allow override
259
-// HWY_NEON_BF16 requires recent compilers.
+// Broken on older compilers:
260
#if (HWY_COMPILER_CLANG != 0 && HWY_COMPILER_CLANG < 1700) || \
261
- (HWY_COMPILER_GCC_ACTUAL != 0 && HWY_COMPILER_GCC_ACTUAL < 1302)
+ (HWY_COMPILER_GCC_ACTUAL != 0 && HWY_COMPILER_GCC_ACTUAL < 1302) || \
262
+ (defined(__apple_build_version__) && __apple_build_version__ <= 17000000)
263
#define HWY_BROKEN_NEON_BF16 (HWY_NEON_BF16)
264
#else
265
#define HWY_BROKEN_NEON_BF16 0
0 commit comments