brintos

brintos / llvm-project-archived public Read only

0
0
Text · 738 B · c32bd58 Raw
9 lines · c
1// The BFloat16 extension is a mandatory component of the Armv8.6-A extensions, but is permitted as an2// optional feature for any implementation of Armv8.2-A to Armv8.5-A (inclusive)3// RUN: %clang --target=aarch64 -march=armv8.5a+bf16 -### -c %s 2>&1 | FileCheck -check-prefix=GENERICV85A-BF16 %s4// GENERICV85A-BF16: "-target-feature" "+bf16"5// RUN: %clang --target=aarch64 -march=armv8.5a+bf16+nobf16 -### -c %s 2>&1 | FileCheck -check-prefix=GENERICV85A-BF16-NO-BF16 %s6// GENERICV85A-BF16-NO-BF16: "-target-feature" "-bf16"7// RUN: %clang --target=aarch64 -march=armv8.5a+bf16+sve -### -c %s 2>&1 | FileCheck -check-prefixes=GENERICV85A-BF16-SVE %s8// GENERICV85A-BF16-SVE: "-target-feature" "+bf16"{{.*}} "-target-feature" "+sve"9