diff options
author | Kyrylo Tkachov <ktkachov@nvidia.com> | 2024-06-28 13:22:37 +0530 |
---|---|---|
committer | Kyrylo Tkachov <ktkachov@nvidia.com> | 2024-07-03 12:12:45 +0200 |
commit | 6492c7130d6ae9992298fc3d072e2589d1131376 (patch) | |
tree | 484f8000675c192e2ee8f041da2f6d896b864194 /gcc/cppbuiltin.cc | |
parent | c10942134fa759843ac1ed1424b86fcb8e6368ba (diff) | |
download | gcc-6492c7130d6ae9992298fc3d072e2589d1131376.zip gcc-6492c7130d6ae9992298fc3d072e2589d1131376.tar.gz gcc-6492c7130d6ae9992298fc3d072e2589d1131376.tar.bz2 |
aarch64: PR target/115475 Implement missing __ARM_FEATURE_SVE_BF16 macro
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.
gcc/
PR target/115475
* config/aarch64/aarch64-c.cc (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 <ktkachov@nvidia.com>
Diffstat (limited to 'gcc/cppbuiltin.cc')
0 files changed, 0 insertions, 0 deletions