Hi all, The ACLE requires __ARM_FEATURE_SVE_BF16 to be enabled when SVE and BF16 and the associated intrinsics are available. GCC does support the required intrinsics for TARGET_SVE_BF16 so define this macro too.
Bootstrapped and tested on aarch64-none-linux-gnu. Pushing to trunk. I think it makes sense to back port this to branches that support the SVE BF16 intrinsics. I’ll prepare patches for those separately. Thanks, Kyrill gcc/ PR target/115475 * config/aarch64/aarch64-c.c (aarch64_update_cpp_builtins): Define __ARM_FEATURE_SVE_BF16 for TARGET_SVE_BF16. gcc/testsuite/ PR target/115475 * gcc.target/aarch64/acle/bf16_sve_feature.c: New test. Signed-off-by: Kyrylo Tkachov <ktkac...@nvidia.com>
0002-aarch64-PR-target-115475-Implement-missing-__ARM_FEA.patch
Description: 0002-aarch64-PR-target-115475-Implement-missing-__ARM_FEA.patch