Replies: 2 comments 3 replies
-
This particular intrinsic is only available with the fp16fml AArch64 extension (see below on how to pass this feature flag to Clang). The caveat is that the fp16 extension is not available in all SOCs and you'd need runtime checks (e.g. ifuncs) to fallback to non-intrinsic code.
|
Beta Was this translation helpful? Give feedback.
-
The flag for this intrinsic would be In general, these intrinsics are only declared if the corresponding feature/arch is enabled for the selected target. Here's my approach/steps to find which flags enable an intrinsic:
This is quite obtuse way of finding this info though - I wish hardware vendors (or the compiler) make it easier to discover. |
Beta Was this translation helpful? Give feedback.
-
I want to use r25b ndk to build neon intrinsics code , and some errors occur, it seems like 'vcge_f16' is an undeclared identifier,and in Android.mk I opened the '-mfloat-abi=softfp' ,What is the best approach for building the neon instrinsics?
Beta Was this translation helpful? Give feedback.
All reactions