Index: compiler-rt/trunk/test/builtins/Unit/adddf3vfp_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/adddf3vfp_test.c +++ compiler-rt/trunk/test/builtins/Unit/adddf3vfp_test.c @@ -17,7 +17,7 @@ #include -#if __arm__ +#if __arm__ && __VFP_FP__ extern COMPILER_RT_ABI double __adddf3vfp(double a, double b); int test__adddf3vfp(double a, double b) @@ -33,7 +33,7 @@ int main() { -#if __arm__ +#if __arm__ && __VFP_FP__ if (test__adddf3vfp(1.0, 1.0)) return 1; if (test__adddf3vfp(HUGE_VAL, HUGE_VAL)) Index: compiler-rt/trunk/test/builtins/Unit/addsf3vfp_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/addsf3vfp_test.c +++ compiler-rt/trunk/test/builtins/Unit/addsf3vfp_test.c @@ -19,7 +19,7 @@ extern COMPILER_RT_ABI float __addsf3vfp(float a, float b); -#if __arm__ +#if __arm__ && __VFP_FP__ int test__addsf3vfp(float a, float b) { float actual = __addsf3vfp(a, b); @@ -33,7 +33,7 @@ int main() { -#if __arm__ +#if __arm__ && __VFP_FP__ if (test__addsf3vfp(1.0, 1.0)) return 1; if (test__addsf3vfp(HUGE_VALF, HUGE_VALF)) Index: compiler-rt/trunk/test/builtins/Unit/cpu_model_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/cpu_model_test.c +++ compiler-rt/trunk/test/builtins/Unit/cpu_model_test.c @@ -13,9 +13,16 @@ // REQUIRES: x86-target-arch +#include + int main (void) { +#if defined(i386) || defined(__x86_64__) if(__builtin_cpu_supports("avx2")) return 4; else return 3; +#else + printf("skipped\n"); + return 0; +#endif } Index: compiler-rt/trunk/test/builtins/Unit/divdf3vfp_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/divdf3vfp_test.c +++ compiler-rt/trunk/test/builtins/Unit/divdf3vfp_test.c @@ -17,7 +17,7 @@ #include -#if __arm__ +#if __arm__ && __VFP_FP__ extern COMPILER_RT_ABI double __divdf3vfp(double a, double b); int test__divdf3vfp(double a, double b) @@ -33,7 +33,7 @@ int main() { -#if __arm__ +#if __arm__ && __VFP_FP__ if (test__divdf3vfp(1.0, 1.0)) return 1; if (test__divdf3vfp(12345.678, 1.23)) Index: compiler-rt/trunk/test/builtins/Unit/divsf3vfp_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/divsf3vfp_test.c +++ compiler-rt/trunk/test/builtins/Unit/divsf3vfp_test.c @@ -19,7 +19,7 @@ extern COMPILER_RT_ABI float __divsf3vfp(float a, float b); -#if __arm__ +#if __arm__ && __VFP_FP__ int test__divsf3vfp(float a, float b) { float actual = __divsf3vfp(a, b); @@ -33,7 +33,7 @@ int main() { -#if __arm__ +#if __arm__ && __VFP_FP__ if (test__divsf3vfp(1.0, 1.0)) return 1; if (test__divsf3vfp(12345.678, 1.23)) Index: compiler-rt/trunk/test/builtins/Unit/eqdf2vfp_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/eqdf2vfp_test.c +++ compiler-rt/trunk/test/builtins/Unit/eqdf2vfp_test.c @@ -19,7 +19,7 @@ extern int __eqdf2vfp(double a, double b); -#if __arm__ +#if __arm__ && __VFP_FP__ int test__eqdf2vfp(double a, double b) { int actual = __eqdf2vfp(a, b); @@ -33,7 +33,7 @@ int main() { -#if __arm__ +#if __arm__ && __VFP_FP__ if (test__eqdf2vfp(0.0, 0.0)) return 1; if (test__eqdf2vfp(1.0, 1.0)) Index: compiler-rt/trunk/test/builtins/Unit/eqsf2vfp_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/eqsf2vfp_test.c +++ compiler-rt/trunk/test/builtins/Unit/eqsf2vfp_test.c @@ -19,7 +19,7 @@ extern int __eqsf2vfp(float a, float b); -#if __arm__ +#if __arm__ && __VFP_FP__ int test__eqsf2vfp(float a, float b) { int actual = __eqsf2vfp(a, b); @@ -33,7 +33,7 @@ int main() { -#if __arm__ +#if __arm__ && __VFP_FP__ if (test__eqsf2vfp(0.0, 0.0)) return 1; if (test__eqsf2vfp(1.0, 1.0)) Index: compiler-rt/trunk/test/builtins/Unit/extebdsfdf2vfp_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/extebdsfdf2vfp_test.c +++ compiler-rt/trunk/test/builtins/Unit/extebdsfdf2vfp_test.c @@ -19,7 +19,7 @@ extern COMPILER_RT_ABI double __extendsfdf2vfp(float a); -#if __arm__ +#if __arm__ && __VFP_FP__ int test__extendsfdf2vfp(float a) { double actual = __extendsfdf2vfp(a); @@ -33,7 +33,7 @@ int main() { -#if __arm__ +#if __arm__ && __VFP_FP__ if (test__extendsfdf2vfp(0.0)) return 1; if (test__extendsfdf2vfp(1.0)) Index: compiler-rt/trunk/test/builtins/Unit/fixdfsivfp_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/fixdfsivfp_test.c +++ compiler-rt/trunk/test/builtins/Unit/fixdfsivfp_test.c @@ -18,7 +18,7 @@ extern int __fixdfsivfp(double a); -#if __arm__ +#if __arm__ && __VFP_FP__ int test__fixdfsivfp(double a) { int actual = __fixdfsivfp(a); @@ -32,7 +32,7 @@ int main() { -#if __arm__ +#if __arm__ && __VFP_FP__ if (test__fixdfsivfp(0.0)) return 1; if (test__fixdfsivfp(1.0)) Index: compiler-rt/trunk/test/builtins/Unit/fixsfsivfp_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/fixsfsivfp_test.c +++ compiler-rt/trunk/test/builtins/Unit/fixsfsivfp_test.c @@ -18,7 +18,7 @@ extern int __fixsfsivfp(float a); -#if __arm__ +#if __arm__ && __VFP_FP__ int test__fixsfsivfp(float a) { int actual = __fixsfsivfp(a); @@ -32,7 +32,7 @@ int main() { -#if __arm__ +#if __arm__ && __VFP_FP__ if (test__fixsfsivfp(0.0)) return 1; if (test__fixsfsivfp(1.0)) Index: compiler-rt/trunk/test/builtins/Unit/fixunsdfsivfp_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/fixunsdfsivfp_test.c +++ compiler-rt/trunk/test/builtins/Unit/fixunsdfsivfp_test.c @@ -19,7 +19,7 @@ extern COMPILER_RT_ABI unsigned int __fixunsdfsivfp(double a); -#if __arm__ +#if __arm__ && __VFP_FP__ int test__fixunsdfsivfp(double a) { unsigned int actual = __fixunsdfsivfp(a); @@ -33,7 +33,7 @@ int main() { -#if __arm__ +#if __arm__ && __VFP_FP__ if (test__fixunsdfsivfp(0.0)) return 1; if (test__fixunsdfsivfp(1.0)) Index: compiler-rt/trunk/test/builtins/Unit/fixunssfsivfp_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/fixunssfsivfp_test.c +++ compiler-rt/trunk/test/builtins/Unit/fixunssfsivfp_test.c @@ -18,7 +18,7 @@ extern unsigned int __fixunssfsivfp(float a); -#if __arm__ +#if __arm__ && __VFP_FP__ int test__fixunssfsivfp(float a) { unsigned int actual = __fixunssfsivfp(a); @@ -32,7 +32,7 @@ int main() { -#if __arm__ +#if __arm__ && __VFP_FP__ if (test__fixunssfsivfp(0.0)) return 1; if (test__fixunssfsivfp(1.0)) Index: compiler-rt/trunk/test/builtins/Unit/floatsidfvfp_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/floatsidfvfp_test.c +++ compiler-rt/trunk/test/builtins/Unit/floatsidfvfp_test.c @@ -19,7 +19,7 @@ extern COMPILER_RT_ABI double __floatsidfvfp(int a); -#if __arm__ +#if __arm__ && __VFP_FP__ int test__floatsidfvfp(int a) { double actual = __floatsidfvfp(a); @@ -33,7 +33,7 @@ int main() { -#if __arm__ +#if __arm__ && __VFP_FP__ if (test__floatsidfvfp(0)) return 1; if (test__floatsidfvfp(1)) Index: compiler-rt/trunk/test/builtins/Unit/floatsisfvfp_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/floatsisfvfp_test.c +++ compiler-rt/trunk/test/builtins/Unit/floatsisfvfp_test.c @@ -19,7 +19,7 @@ extern COMPILER_RT_ABI float __floatsisfvfp(int a); -#if __arm__ +#if __arm__ && __VFP_FP__ int test__floatsisfvfp(int a) { float actual = __floatsisfvfp(a); @@ -33,7 +33,7 @@ int main() { -#if __arm__ +#if __arm__ && __VFP_FP__ if (test__floatsisfvfp(0)) return 1; if (test__floatsisfvfp(1)) Index: compiler-rt/trunk/test/builtins/Unit/floatunssidfvfp_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/floatunssidfvfp_test.c +++ compiler-rt/trunk/test/builtins/Unit/floatunssidfvfp_test.c @@ -19,7 +19,7 @@ extern COMPILER_RT_ABI double __floatunssidfvfp(unsigned int a); -#if __arm__ +#if __arm__ && __VFP_FP__ int test__floatunssidfvfp(unsigned int a) { double actual = __floatunssidfvfp(a); @@ -33,7 +33,7 @@ int main() { -#if __arm__ +#if __arm__ && __VFP_FP__ if (test__floatunssidfvfp(0)) return 1; if (test__floatunssidfvfp(1)) Index: compiler-rt/trunk/test/builtins/Unit/floatunssisfvfp_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/floatunssisfvfp_test.c +++ compiler-rt/trunk/test/builtins/Unit/floatunssisfvfp_test.c @@ -18,7 +18,7 @@ extern COMPILER_RT_ABI float __floatunssisfvfp(unsigned int a); -#if __arm__ +#if __arm__ && __VFP_FP__ int test__floatunssisfvfp(unsigned int a) { float actual = __floatunssisfvfp(a); @@ -32,7 +32,7 @@ int main() { -#if __arm__ +#if __arm__ && __VFP_FP__ if (test__floatunssisfvfp(0)) return 1; if (test__floatunssisfvfp(1)) Index: compiler-rt/trunk/test/builtins/Unit/gedf2vfp_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/gedf2vfp_test.c +++ compiler-rt/trunk/test/builtins/Unit/gedf2vfp_test.c @@ -19,7 +19,7 @@ extern int __gedf2vfp(double a, double b); -#if __arm__ +#if __arm__ && __VFP_FP__ int test__gedf2vfp(double a, double b) { int actual = __gedf2vfp(a, b); @@ -33,7 +33,7 @@ int main() { -#if __arm__ +#if __arm__ && __VFP_FP__ if (test__gedf2vfp(0.0, 0.0)) return 1; if (test__gedf2vfp(1.0, 0.0)) Index: compiler-rt/trunk/test/builtins/Unit/gesf2vfp_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/gesf2vfp_test.c +++ compiler-rt/trunk/test/builtins/Unit/gesf2vfp_test.c @@ -19,7 +19,7 @@ extern int __gesf2vfp(float a, float b); -#if __arm__ +#if __arm__ && __VFP_FP__ int test__gesf2vfp(float a, float b) { int actual = __gesf2vfp(a, b); @@ -33,7 +33,7 @@ int main() { -#if __arm__ +#if __arm__ && __VFP_FP__ if (test__gesf2vfp(0.0, 0.0)) return 1; if (test__gesf2vfp(1.1, 1.0)) Index: compiler-rt/trunk/test/builtins/Unit/gtdf2vfp_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/gtdf2vfp_test.c +++ compiler-rt/trunk/test/builtins/Unit/gtdf2vfp_test.c @@ -19,7 +19,7 @@ extern int __gtdf2vfp(double a, double b); -#if __arm__ +#if __arm__ && __VFP_FP__ int test__gtdf2vfp(double a, double b) { int actual = __gtdf2vfp(a, b); @@ -33,7 +33,7 @@ int main() { -#if __arm__ +#if __arm__ && __VFP_FP__ if (test__gtdf2vfp(0.0, 0.0)) return 1; if (test__gtdf2vfp(1.0, 0.0)) Index: compiler-rt/trunk/test/builtins/Unit/gtsf2vfp_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/gtsf2vfp_test.c +++ compiler-rt/trunk/test/builtins/Unit/gtsf2vfp_test.c @@ -19,7 +19,7 @@ extern int __gtsf2vfp(float a, float b); -#if __arm__ +#if __arm__ && __VFP_FP__ int test__gtsf2vfp(float a, float b) { int actual = __gtsf2vfp(a, b); @@ -33,7 +33,7 @@ int main() { -#if __arm__ +#if __arm__ && __VFP_FP__ if (test__gtsf2vfp(0.0, 0.0)) return 1; if (test__gtsf2vfp(1.0, 0.0)) Index: compiler-rt/trunk/test/builtins/Unit/ledf2vfp_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/ledf2vfp_test.c +++ compiler-rt/trunk/test/builtins/Unit/ledf2vfp_test.c @@ -19,7 +19,7 @@ extern int __ledf2vfp(double a, double b); -#if __arm__ +#if __arm__ && __VFP_FP__ int test__ledf2vfp(double a, double b) { int actual = __ledf2vfp(a, b); @@ -33,7 +33,7 @@ int main() { -#if __arm__ +#if __arm__ && __VFP_FP__ if (test__ledf2vfp(0.0, 0.0)) return 1; if (test__ledf2vfp(1.0, 1.0)) Index: compiler-rt/trunk/test/builtins/Unit/lesf2vfp_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/lesf2vfp_test.c +++ compiler-rt/trunk/test/builtins/Unit/lesf2vfp_test.c @@ -19,7 +19,7 @@ extern int __lesf2vfp(float a, float b); -#if __arm__ +#if __arm__ && __VFP_FP__ int test__lesf2vfp(float a, float b) { int actual = __lesf2vfp(a, b); @@ -33,7 +33,7 @@ int main() { -#if __arm__ +#if __arm__ && __VFP_FP__ if (test__lesf2vfp(0.0, 0.0)) return 1; if (test__lesf2vfp(1.0, 1.0)) Index: compiler-rt/trunk/test/builtins/Unit/ltdf2vfp_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/ltdf2vfp_test.c +++ compiler-rt/trunk/test/builtins/Unit/ltdf2vfp_test.c @@ -19,7 +19,7 @@ extern int __ltdf2vfp(double a, double b); -#if __arm__ +#if __arm__ && __VFP_FP__ int test__ltdf2vfp(double a, double b) { int actual = __ltdf2vfp(a, b); @@ -33,7 +33,7 @@ int main() { -#if __arm__ +#if __arm__ && __VFP_FP__ if (test__ltdf2vfp(0.0, 0.0)) return 1; if (test__ltdf2vfp(1.0, 1.0)) Index: compiler-rt/trunk/test/builtins/Unit/ltsf2vfp_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/ltsf2vfp_test.c +++ compiler-rt/trunk/test/builtins/Unit/ltsf2vfp_test.c @@ -19,7 +19,7 @@ extern int __ltsf2vfp(float a, float b); -#if __arm__ +#if __arm__ && __VFP_FP__ int test__ltsf2vfp(float a, float b) { int actual = __ltsf2vfp(a, b); @@ -33,7 +33,7 @@ int main() { -#if __arm__ +#if __arm__ && __VFP_FP__ if (test__ltsf2vfp(0.0, 0.0)) return 1; if (test__ltsf2vfp(-1.0, 1.0)) Index: compiler-rt/trunk/test/builtins/Unit/muldf3vfp_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/muldf3vfp_test.c +++ compiler-rt/trunk/test/builtins/Unit/muldf3vfp_test.c @@ -17,7 +17,7 @@ #include -#if __arm__ +#if __arm__ && __VFP_FP__ extern COMPILER_RT_ABI double __muldf3vfp(double a, double b); int test__muldf3vfp(double a, double b) @@ -33,7 +33,7 @@ int main() { -#if __arm__ +#if __arm__ && __VFP_FP__ if (test__muldf3vfp(0.5, 10.0)) return 1; if (test__muldf3vfp(-0.5, -2.0)) Index: compiler-rt/trunk/test/builtins/Unit/mulsf3vfp_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/mulsf3vfp_test.c +++ compiler-rt/trunk/test/builtins/Unit/mulsf3vfp_test.c @@ -19,7 +19,7 @@ extern COMPILER_RT_ABI float __mulsf3vfp(float a, float b); -#if __arm__ +#if __arm__ && __VFP_FP__ int test__mulsf3vfp(float a, float b) { float actual = __mulsf3vfp(a, b); @@ -33,7 +33,7 @@ int main() { -#if __arm__ +#if __arm__ && __VFP_FP__ if (test__mulsf3vfp(0.5, 10.0)) return 1; if (test__mulsf3vfp(-0.5, -2.0)) Index: compiler-rt/trunk/test/builtins/Unit/nedf2vfp_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/nedf2vfp_test.c +++ compiler-rt/trunk/test/builtins/Unit/nedf2vfp_test.c @@ -19,7 +19,7 @@ extern int __nedf2vfp(double a, double b); -#if __arm__ +#if __arm__ && __VFP_FP__ int test__nedf2vfp(double a, double b) { int actual = __nedf2vfp(a, b); @@ -33,7 +33,7 @@ int main() { -#if __arm__ +#if __arm__ && __VFP_FP__ if (test__nedf2vfp(0.0, 0.0)) return 1; if (test__nedf2vfp(1.0, 1.0)) Index: compiler-rt/trunk/test/builtins/Unit/negdf2vfp_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/negdf2vfp_test.c +++ compiler-rt/trunk/test/builtins/Unit/negdf2vfp_test.c @@ -17,7 +17,7 @@ #include -#if __arm__ +#if __arm__ && __VFP_FP__ extern COMPILER_RT_ABI double __negdf2vfp(double a); int test__negdf2vfp(double a) @@ -33,7 +33,7 @@ int main() { -#if __arm__ +#if __arm__ && __VFP_FP__ if (test__negdf2vfp(1.0)) return 1; if (test__negdf2vfp(HUGE_VALF)) Index: compiler-rt/trunk/test/builtins/Unit/negsf2vfp_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/negsf2vfp_test.c +++ compiler-rt/trunk/test/builtins/Unit/negsf2vfp_test.c @@ -19,7 +19,7 @@ extern COMPILER_RT_ABI float __negsf2vfp(float a); -#if __arm__ +#if __arm__ && __VFP_FP__ int test__negsf2vfp(float a) { float actual = __negsf2vfp(a); @@ -33,7 +33,7 @@ int main() { -#if __arm__ +#if __arm__ && __VFP_FP__ if (test__negsf2vfp(1.0)) return 1; if (test__negsf2vfp(HUGE_VALF)) Index: compiler-rt/trunk/test/builtins/Unit/nesf2vfp_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/nesf2vfp_test.c +++ compiler-rt/trunk/test/builtins/Unit/nesf2vfp_test.c @@ -19,7 +19,7 @@ extern int __nesf2vfp(float a, float b); -#if __arm__ +#if __arm__ && __VFP_FP__ int test__nesf2vfp(float a, float b) { int actual = __nesf2vfp(a, b); @@ -33,7 +33,7 @@ int main() { -#if __arm__ +#if __arm__ && __VFP_FP__ if (test__nesf2vfp(0.0, 0.0)) return 1; if (test__nesf2vfp(1.0, 1.0)) Index: compiler-rt/trunk/test/builtins/Unit/subdf3vfp_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/subdf3vfp_test.c +++ compiler-rt/trunk/test/builtins/Unit/subdf3vfp_test.c @@ -17,7 +17,7 @@ #include -#if __arm__ +#if __arm__ && __VFP_FP__ extern COMPILER_RT_ABI double __subdf3vfp(double a, double b); int test__subdf3vfp(double a, double b) @@ -33,7 +33,7 @@ int main() { -#if __arm__ +#if __arm__ && __VFP_FP__ if (test__subdf3vfp(1.0, 1.0)) return 1; if (test__subdf3vfp(1234.567, 765.4321)) Index: compiler-rt/trunk/test/builtins/Unit/subsf3vfp_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/subsf3vfp_test.c +++ compiler-rt/trunk/test/builtins/Unit/subsf3vfp_test.c @@ -19,7 +19,7 @@ extern COMPILER_RT_ABI float __subsf3vfp(float a, float b); -#if __arm__ +#if __arm__ && __VFP_FP__ int test__subsf3vfp(float a, float b) { float actual = __subsf3vfp(a, b); @@ -33,7 +33,7 @@ int main() { -#if __arm__ +#if __arm__ && __VFP_FP__ if (test__subsf3vfp(1.0, 1.0)) return 1; if (test__subsf3vfp(1234.567, 765.4321)) Index: compiler-rt/trunk/test/builtins/Unit/truncdfsf2vfp_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/truncdfsf2vfp_test.c +++ compiler-rt/trunk/test/builtins/Unit/truncdfsf2vfp_test.c @@ -19,7 +19,7 @@ extern COMPILER_RT_ABI float __truncdfsf2vfp(double a); -#if __arm__ +#if __arm__ && __VFP_FP__ int test__truncdfsf2vfp(double a) { float actual = __truncdfsf2vfp(a); @@ -33,7 +33,7 @@ int main() { -#if __arm__ +#if __arm__ && __VFP_FP__ if (test__truncdfsf2vfp(0.0)) return 1; if (test__truncdfsf2vfp(1.0)) Index: compiler-rt/trunk/test/builtins/Unit/unorddf2vfp_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/unorddf2vfp_test.c +++ compiler-rt/trunk/test/builtins/Unit/unorddf2vfp_test.c @@ -19,7 +19,7 @@ extern int __unorddf2vfp(double a, double b); -#if __arm__ +#if __arm__ && __VFP_FP__ int test__unorddf2vfp(double a, double b) { int actual = __unorddf2vfp(a, b); @@ -33,7 +33,7 @@ int main() { -#if __arm__ +#if __arm__ && __VFP_FP__ if (test__unorddf2vfp(0.0, NAN)) return 1; if (test__unorddf2vfp(NAN, 1.0)) Index: compiler-rt/trunk/test/builtins/Unit/unordsf2vfp_test.c =================================================================== --- compiler-rt/trunk/test/builtins/Unit/unordsf2vfp_test.c +++ compiler-rt/trunk/test/builtins/Unit/unordsf2vfp_test.c @@ -19,7 +19,7 @@ extern int __unordsf2vfp(float a, float b); -#if __arm__ +#if __arm__ && __VFP_FP__ int test__unordsf2vfp(float a, float b) { int actual = __unordsf2vfp(a, b); @@ -33,7 +33,7 @@ int main() { -#if __arm__ +#if __arm__ && __VFP_FP__ if (test__unordsf2vfp(0.0, NAN)) return 1; if (test__unordsf2vfp(NAN, 1.0))