brintos

brintos / llvm-project-archived public Read only

0
0
Text · 697 B · 1792a1e Raw
11 lines · c
1// REQUIRES: arm-registered-target2// RUN: not %clang -target arm-arm-none-eabi -march=armv8-a+bf16 -mfloat-abi=soft -c %s -o %t 2>&1 | FileCheck %s3// RUN: not %clang -target arm-arm-none-eabi -march=armv8-a+bf16 -mfpu=none -c %s -o %t 2>&1 | FileCheck %s4// RUN: not %clang -target arm-arm-none-eabi -march=armv8-a+bf16+nofp -c %s -o %t 2>&1 | FileCheck %s5// RUN: not %clang -target arm-arm-none-eabi -march=armv8-a+bf16+fp+nofp -c %s -o %t 2>&1 | FileCheck %s6// RUN: %clang -target arm-arm-none-eabi -march=armv8-a+bf16+fp -c %s -o %t7// RUN: %clang -target arm-arm-none-eabi -march=armv8-a+bf16+nofp+fp -c %s -o %t8 9// CHECK: error: __bf16 is not supported on this target10extern __bf16 var;11