Index: compiler-rt/trunk/test/builtins/Unit/ppc/fixtfdi_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/ppc/fixtfdi_test.c +++ compiler-rt/trunk/test/builtins/Unit/ppc/fixtfdi_test.c @@ -1,5 +1,5 @@ -// REQUIRES: powerpc-registered-target -// RUN: %clang_builtins %s -o %t && %run %t +// REQUIRES: target-is-powerpc64le +// RUN: %clang_builtins %s %librt -o %t && %run %t #include #include #include @@ -476,4 +476,4 @@ } return 0; -} \ No newline at end of file +} Index: compiler-rt/trunk/test/builtins/Unit/ppc/floatditf_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/ppc/floatditf_test.c +++ compiler-rt/trunk/test/builtins/Unit/ppc/floatditf_test.c @@ -1,7 +1,8 @@ -// REQUIRES: powerpc-registered-target -// RUN: %clang_builtins %s -o %t && %run %t +// REQUIRES: target-is-powerpc64le +// RUN: %clang_builtins %s %librt -o %t && %run %t #include #include +#include "int_lib.h" COMPILER_RT_ABI long double __floatditf(int64_t); Index: compiler-rt/trunk/test/builtins/Unit/ppc/floatunditf_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/ppc/floatunditf_test.c +++ compiler-rt/trunk/test/builtins/Unit/ppc/floatunditf_test.c @@ -1,7 +1,8 @@ -// REQUIRES: powerpc-registered-target -// RUN: %clang_builtins %s -o %t && %run %t +// REQUIRES: target-is-powerpc64le +// RUN: %clang_builtins %s %librt -o %t && %run %t #include #include +#include "int_lib.h" COMPILER_RT_ABI long double __floatunditf(uint64_t); Index: compiler-rt/trunk/test/builtins/Unit/ppc/qadd_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/ppc/qadd_test.c +++ compiler-rt/trunk/test/builtins/Unit/ppc/qadd_test.c @@ -1,5 +1,5 @@ -// REQUIRES: powerpc-registered-target -// RUN: %clang_builtins %s -o %t && %run %t +// REQUIRES: target-is-powerpc64le +// RUN: %clang_builtins %s %librt -o %t && %run %t #include #include "DD.h" Index: compiler-rt/trunk/test/builtins/Unit/ppc/qdiv_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/ppc/qdiv_test.c +++ compiler-rt/trunk/test/builtins/Unit/ppc/qdiv_test.c @@ -1,5 +1,5 @@ -// REQUIRES: powerpc-registered-target -// RUN: %clang_builtins %s -o %t && %run %t +// REQUIRES: target-is-powerpc64le +// RUN: %clang_builtins %s %librt -o %t && %run %t #include #include "DD.h" Index: compiler-rt/trunk/test/builtins/Unit/ppc/qmul_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/ppc/qmul_test.c +++ compiler-rt/trunk/test/builtins/Unit/ppc/qmul_test.c @@ -1,5 +1,5 @@ -// REQUIRES: powerpc-registered-target -// RUN: %clang_builtins %s -o %t && %run %t +// REQUIRES: target-is-powerpc64le +// RUN: %clang_builtins %s %librt -o %t && %run %t #include #include "DD.h" Index: compiler-rt/trunk/test/builtins/Unit/ppc/qsub_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/ppc/qsub_test.c +++ compiler-rt/trunk/test/builtins/Unit/ppc/qsub_test.c @@ -1,5 +1,5 @@ -// REQUIRES: powerpc-registered-target -// RUN: %clang_builtins %s -o %t && %run %t +// REQUIRES: target-is-powerpc64le +// RUN: %clang_builtins %s %librt -o %t && %run %t #include #include "DD.h"