brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.6 KiB · bd17da1 Raw
47 lines · c
1// RUN: %clang --target=sparc -mfpu %s -### 2>&1 | FileCheck -check-prefix=FPU %s2// RUN: %clang --target=sparc -mno-fpu %s -### 2>&1 | FileCheck -check-prefix=NO-FPU %s3// FPU: "-mfloat-abi" "hard"4// NO-FPU: "-mfloat-abi" "soft"5 6// RUN: %clang --target=sparc -mfsmuld %s -### 2>&1 | FileCheck -check-prefix=FSMULD %s7// RUN: %clang --target=sparc -mno-fsmuld %s -### 2>&1 | FileCheck -check-prefix=NO-FSMULD %s8// FSMULD: "-target-feature" "+fsmuld"9// NO-FSMULD: "-target-feature" "-fsmuld"10 11// RUN: %clang --target=sparc -mpopc %s -### 2>&1 | FileCheck -check-prefix=POPC %s12// RUN: %clang --target=sparc -mno-popc %s -### 2>&1 | FileCheck -check-prefix=NO-POPC %s13// POPC: "-target-feature" "+popc"14// NO-POPC: "-target-feature" "-popc"15 16// RUN: %clang --target=sparc -mvis %s -### 2>&1 | FileCheck -check-prefix=VIS %s17// RUN: %clang --target=sparc -mno-vis %s -### 2>&1 | FileCheck -check-prefix=NO-VIS %s18// VIS: "-target-feature" "+vis"19// NO-VIS: "-target-feature" "-vis"20 21// RUN: %clang --target=sparc -mvis2 %s -### 2>&1 | FileCheck -check-prefix=VIS2 %s22// RUN: %clang --target=sparc -mno-vis2 %s -### 2>&1 | FileCheck -check-prefix=NO-VIS2 %s23/// Solaris/SPARC defaults to -mvis224// RUN: %clang --target=sparc-sun-solaris2.11 %s -### 2>&1 | FileCheck -check-prefix=VIS2 %s25// RUN: %clang --target=sparc-sun-solaris2.11 -mno-vis2 %s -### 2>&1 | FileCheck -check-prefix=NO-VIS2 %s26// RUN: %clang --target=sparcv9-sun-solaris2.11 %s -### 2>&1 | FileCheck -check-prefix=VIS2 %s27// RUN: %clang --target=sparcv9-sun-solaris2.11 -mno-vis2 %s -### 2>&1 | FileCheck -check-prefix=NO-VIS2 %s28// VIS2: "-target-feature" "+vis2"29// NO-VIS2: "-target-feature" "-vis2"30 31// RUN: %clang --target=sparc -mvis3 %s -### 2>&1 | FileCheck -check-prefix=VIS3 %s32// RUN: %clang --target=sparc -mno-vis3 %s -### 2>&1 | FileCheck -check-prefix=NO-VIS3 %s33// VIS3: "-target-feature" "+vis3"34// NO-VIS3: "-target-feature" "-vis3"35 36// RUN: %clang --target=sparc -mhard-quad-float %s -### 2>&1 | FileCheck -check-prefix=HARD-QUAD-FLOAT %s37// RUN: %clang --target=sparc -msoft-quad-float %s -### 2>&1 | FileCheck -check-prefix=SOFT-QUAD-FLOAT %s38// HARD-QUAD-FLOAT: "-target-feature" "+hard-quad-float"39// SOFT-QUAD-FLOAT: "-target-feature" "-hard-quad-float"40 41// RUN: %clang --target=sparc -mv8plus %s -### 2>&1 | FileCheck -check-prefix=V8PLUS %s42/// 32-bit Solaris/SPARC defaults to -mv8plus43// RUN: %clang --target=sparc-sun-solaris2.11 %s -### 2>&1 | FileCheck -check-prefix=V8PLUS %s44// RUN: %clang --target=sparc-sun-solaris2.11 -mno-v8plus %s -### 2>&1 | FileCheck -check-prefix=NO-V8PLUS %s45// V8PLUS: "-target-feature" "+v8plus"46// NO-V8PLUS-NOT: "-target-feature" "+v8plus"47