brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · 616d641 Raw
25 lines · c
1// RUN: not %clang -target powerpc64le-unknown-linux-gnu -fsyntax-only \2// RUN:   -mcpu=pwr9 -mfloat128 %s 2>&1 | FileCheck %s --check-prefix=HASF1283// RUN: not %clang -target powerpc64le-unknown-linux-gnu -fsyntax-only \4// RUN:   -mcpu=power9 -mfloat128 %s 2>&1 | FileCheck %s --check-prefix=HASF1285// RUN: not %clang -target powerpc64le-unknown-linux-gnu -fsyntax-only \6// RUN:   -mcpu=pwr8 -mfloat128 %s 2>&1 | FileCheck %s --check-prefix=HASF1287// RUN: not %clang -target powerpc64le-unknown-linux-gnu -fsyntax-only \8// RUN:   -mcpu=pwr7 -mfloat128 %s 2>&1 | FileCheck %s --check-prefix=HASF1289// RUN: not %clang -target powerpc64le-unknown-linux-gnu -fsyntax-only \10// RUN:   -mfloat128 %s 2>&1 | FileCheck %s --check-prefix=HASF12811 12// RUN: not %clang -target powerpc64le-unknown-linux-gnu -fsyntax-only \13// RUN:   -mcpu=pwr6 -mfloat128 %s 2>&1 | FileCheck %s --check-prefix=NOF12814// RUN: not %clang -target powerpc64le-unknown-linux-gnu -fsyntax-only \15// RUN:   -mno-vsx -mfloat128 %s 2>&1 | FileCheck %s --check-prefix=NOF12816 17#ifdef __FLOAT128__18static_assert(false, "__float128 enabled");19#endif20 21// HASF128: __float128 enabled22// HASF128-NOT: option '-mfloat128' cannot be specified with23// NOF128: option '-mfloat128' cannot be specified with24 25