brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.4 KiB · 247d670 Raw
21 lines · c
1// RUN: %clang -target arm-arm-none-eabi -mfloat-abi=soft %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-MFLOAT-ABI-SOFT2// CHECK-MFLOAT-ABI-SOFT: "-target-feature" "-dotprod"3// CHECK-MFLOAT-ABI-SOFT: "-target-feature" "-fp16fml"4// CHECK-MFLOAT-ABI-SOFT: "-target-feature" "-bf16"5// CHECK-MFLOAT-ABI-SOFT: "-target-feature" "-mve"6// CHECK-MFLOAT-ABI-SOFT: "-target-feature" "-mve.fp"7// CHECK-MFLOAT-ABI-SOFT: "-target-feature" "-fpregs"8 9// RUN: %clang -target arm-arm-none-eabi -mfpu=none %s -### 2>&1 | FileCheck %s10// RUN: %clang -target arm-arm-none-eabi -march=armv8-a+nofp %s -### 2>&1 | FileCheck %s11// RUN: %clang -target arm-arm-none-eabi -mcpu=cortex-a35+nofp %s -### 2>&1 | FileCheck %s12// RUN: %clang -target arm-arm-none-eabi -mcpu=cortex-m85+nofp %s -### 2>&1 | FileCheck %s13// RUN: %clang -target arm-arm-none-eabi -march=armv8-a+nofp+nomve %s -### 2>&1 | FileCheck %s --check-prefixes=CHECK,CHECK-NOMVE14// RUN: %clang -target arm-arm-none-eabi -mcpu=cortex-a35+nofp+nomve %s -### 2>&1 | FileCheck %s --check-prefixes=CHECK,CHECK-NOMVE15// RUN: %clang -target arm-arm-none-eabi -mcpu=cortex-m85+nofp+nomve %s -### 2>&1 | FileCheck %s --check-prefixes=CHECK,CHECK-NOMVE16// CHECK: "-target-feature" "-dotprod"17// CHECK: "-target-feature" "-fp16fml"18// CHECK: "-target-feature" "-bf16"19// CHECK: "-target-feature" "-mve.fp"20// CHECK-NOMVE: "-target-feature" "-fpregs"21