xref: /llvm-project/clang/test/CodeGen/arm-bf16-softfloat.c (revision 71bf6dd682c03c8c29a365f602f5168d44757abe)
1*71bf6dd6SVictor Campos // REQUIRES: arm-registered-target
2d1a3396bSVictor Campos // RUN: not %clang -target arm-arm-none-eabi -march=armv8-a+bf16 -mfloat-abi=soft -c %s -o %t 2>&1 | FileCheck %s
3d1a3396bSVictor Campos // RUN: not %clang -target arm-arm-none-eabi -march=armv8-a+bf16 -mfpu=none -c %s -o %t 2>&1 | FileCheck %s
4d1a3396bSVictor Campos // RUN: not %clang -target arm-arm-none-eabi -march=armv8-a+bf16+nofp -c %s -o %t 2>&1 | FileCheck %s
5d1a3396bSVictor Campos // RUN: not %clang -target arm-arm-none-eabi -march=armv8-a+bf16+fp+nofp -c %s -o %t 2>&1 | FileCheck %s
6d1a3396bSVictor Campos // RUN: %clang -target arm-arm-none-eabi -march=armv8-a+bf16+fp -c %s -o %t
7d1a3396bSVictor Campos // RUN: %clang -target arm-arm-none-eabi -march=armv8-a+bf16+nofp+fp -c %s -o %t
8ecd682bbSTies Stuij 
9ecd682bbSTies Stuij // CHECK: error: __bf16 is not supported on this target
10ecd682bbSTies Stuij extern __bf16 var;
11