brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.1 KiB · 1fb2b5a Raw
49 lines · c
1// RUN: %clang -print-effective-triple \2// RUN:   --target=arm-none-eabi \3// RUN:   | FileCheck %s --check-prefix=CHECK-DEFAULT4// RUN: %clang -print-effective-triple \5// RUN:   --target=armeb-none-eabi -mlittle-endian \6// RUN:   | FileCheck %s --check-prefix=CHECK-DEFAULT7// RUN: %clang -print-effective-triple \8// RUN:   --target=arm-none-eabihf -march=armv4t -mfloat-abi=softfp \9// RUN:   | FileCheck %s --check-prefix=CHECK-DEFAULT10// CHECK-DEFAULT: armv4t-unknown-none-eabi11 12// RUN: %clang -print-effective-triple \13// RUN:   --target=armeb-none-eabi \14// RUN:   | FileCheck %s --check-prefix=CHECK-EB15// RUN: %clang -print-effective-triple \16// RUN:   --target=arm-none-eabi -mbig-endian \17// RUN:   | FileCheck %s --check-prefix=CHECK-EB18// CHECK-EB: armebv4t-unknown-none-eabi19 20// RUN: %clang -print-effective-triple \21// RUN:   --target=arm-none-eabihf -march=armv4t \22// RUN:   | FileCheck %s --check-prefix=CHECK-HF23// RUN: %clang -print-effective-triple \24// RUN:   --target=arm-none-eabi -mfloat-abi=hard \25// RUN:   | FileCheck %s --check-prefix=CHECK-HF26// CHECK-HF: armv4t-unknown-none-eabihf27 28// RUN: %clang -print-effective-triple \29// RUN:   --target=armeb-none-eabihf -march=armv4t \30// RUN:   | FileCheck %s --check-prefix=CHECK-EB-HF31// RUN: %clang -print-effective-triple \32// RUN:   --target=armeb-none-eabi -mfloat-abi=hard \33// RUN:   | FileCheck %s --check-prefix=CHECK-EB-HF34// RUN: %clang -print-effective-triple -march=armv4t \35// RUN:   --target=arm-none-eabihf -mbig-endian \36// RUN:   | FileCheck %s --check-prefix=CHECK-EB-HF37// RUN: %clang -print-effective-triple \38// RUN:   --target=arm-none-eabi -mbig-endian -mfloat-abi=hard \39// RUN:   | FileCheck %s --check-prefix=CHECK-EB-HF40// CHECK-EB-HF: armebv4t-unknown-none-eabihf41 42// RUN: %clang -print-effective-triple \43// RUN:   --target=arm-none-eabi -march=armv8m.main -mbig-endian -mfloat-abi=hard \44// RUN:   | FileCheck %s --check-prefix=CHECK-V8M-EB-HF45// RUN: %clang -print-effective-triple \46// RUN:   --target=arm-none-eabi -mcpu=cortex-m33 -mbig-endian -mfloat-abi=hard \47// RUN:   | FileCheck %s --check-prefix=CHECK-V8M-EB-HF48// CHECK-V8M-EB-HF: thumbebv8m.main-unknown-none-eabihf49