Chromium Code Reviews| Index: crosstest/test_arith_main.cpp |
| diff --git a/crosstest/test_arith_main.cpp b/crosstest/test_arith_main.cpp |
| index 8f420f15db9dd3abb65d8fff881078f960994af0..b036da2aefd0ecde839bab26a96417232f1f0346 100644 |
| --- a/crosstest/test_arith_main.cpp |
| +++ b/crosstest/test_arith_main.cpp |
| @@ -139,8 +139,8 @@ void testsInt(size_t &TotalTests, size_t &Passes, size_t &Failures) { |
| ++Failures; |
| std::cout << "test" << Funcs[f].Name |
| << (CHAR_BIT * sizeof(TypeUnsigned)) << "(" << Value1 |
| - << ", " << Value2 << "): sz=" << (unsigned)ResultSz |
| - << " llc=" << (unsigned)ResultLlc << "\n"; |
| + << ", " << Value2 << "): sz=" << (uint64)ResultSz |
| + << " llc=" << (uint64)ResultLlc << "\n"; |
| } |
| } |
| } |
| @@ -154,6 +154,7 @@ const static size_t MaxTestsPerFunc = 100000; |
| template <typename TypeUnsignedLabel, typename TypeSignedLabel> |
| void testsVecInt(size_t &TotalTests, size_t &Passes, size_t &Failures) { |
| +#ifndef ARM32 |
|
Jim Stichnoth
2015/09/24 05:57:13
I'd like to see TODOs on all these "#ifndef ARM32"
John
2015/09/24 21:28:39
Done.
|
| typedef typename Vectors<TypeUnsignedLabel>::Ty TypeUnsigned; |
| typedef typename Vectors<TypeSignedLabel>::Ty TypeSigned; |
| typedef typename Vectors<TypeUnsignedLabel>::ElementTy ElementTypeUnsigned; |
| @@ -230,6 +231,7 @@ void testsVecInt(size_t &TotalTests, size_t &Passes, size_t &Failures) { |
| } |
| } |
| } |
| +#endif // ARM32 |
| } |
| template <typename Type> |
| @@ -305,6 +307,7 @@ void testsFp(size_t &TotalTests, size_t &Passes, size_t &Failures) { |
| } |
| void testsVecFp(size_t &TotalTests, size_t &Passes, size_t &Failures) { |
| +#ifndef ARM32 |
| static const float NegInf = -1.0 / 0.0; |
| static const float PosInf = 1.0 / 0.0; |
| static const float Nan = 0.0 / 0.0; |
| @@ -363,6 +366,7 @@ void testsVecFp(size_t &TotalTests, size_t &Passes, size_t &Failures) { |
| } |
| } |
| } |
| +#endif // ARM32 |
| } |
| #ifdef X8664_STACK_HACK |