/external/swiftshader/third_party/subzero/crosstest/ |
D | test_arith_main.cpp | 106 TypeUnsigned ResultSz, ResultLlc; in testsInt() local 108 ResultSz = Funcs[f].FuncSzUnsigned(Value1, Value2); in testsInt() 111 ResultSz = Funcs[f].FuncSzSigned(Value1, Value2); in testsInt() 114 if (ResultSz == ResultLlc) { in testsInt() 120 << ", " << Value2 << "): sz=" << (unsigned)ResultSz in testsInt() 142 TypeUnsigned ResultSz, ResultLlc; in testsInt() local 144 ResultSz = Funcs[f].FuncSzUnsigned(Value1, Value2); in testsInt() 147 ResultSz = Funcs[f].FuncSzSigned(Value1, Value2); in testsInt() 150 if (ResultSz == ResultLlc) { in testsInt() 156 << ", " << Value2 << "): sz=" << (uint64)ResultSz in testsInt() [all …]
|
D | test_fcmp_main.cpp | 92 bool ResultSz, ResultLlc; in testsScalar() local 102 ResultSz = Funcs[f].FuncFloatSz(Value1Float, Value2Float); in testsScalar() 104 if (ResultSz == ResultLlc) { in testsScalar() 109 << Value2Float << "): sz=" << ResultSz in testsScalar() 115 ResultSz = Funcs[f].FuncDoubleSz(Value1Double, Value2Double); in testsScalar() 117 if (ResultSz == ResultLlc) { in testsScalar() 122 << Value2Double << "): sz=" << ResultSz in testsScalar() 128 ResultSz = Funcs[f].FuncFloatSelectSz(Value1Float, Value2Float, 1, 2); in testsScalar() 130 if (ResultSz == ResultLlc) { in testsScalar() 135 << Value2Float << "): sz=" << ResultSz in testsScalar() [all …]
|
D | test_icmp_main.cpp | 73 bool ResultSz = Funcs[f].FuncSz(Value1, Value2); in testsInt() local 75 if (ResultSz == ResultLlc) { in testsInt() 81 << ", " << Value2 << "): sz=" << ResultSz in testsInt() 100 bool ResultSz = Funcs[f].FuncSz(Value1, Value2); in testsInt() local 102 if (ResultSz == ResultLlc) { in testsInt() 108 << ", " << Value2 << "): sz=" << ResultSz in testsInt() 148 bool ResultSz = Funcs[f].FuncSz(Value); in testsIntWithZero() local 150 if (ResultSz == ResultLlc) { in testsIntWithZero() 156 << "): sz=" << ResultSz << " llc=" << ResultLlc << "\n"; in testsIntWithZero() 169 bool ResultSz = Funcs[f].FuncSz(Value); in testsIntWithZero() local [all …]
|
D | test_select_main.cpp | 53 Ty ResultSz = Subzero_::select(Cond, Value1, Value2); in testSelect() local 55 if (!memcmp(&ResultLlc, &ResultSz, sizeof(ResultLlc))) { in testSelect() 64 std::cout << "sz =" << vectAsString<T>(ResultSz) << "\n"; in testSelect() 89 v4f32 ResultSz = Subzero_::select(Cond, Value1, Value2); in testSelect() local 91 if (!memcmp(&ResultLlc, &ResultSz, sizeof(ResultLlc))) { in testSelect() 100 std::cout << "sz =" << vectAsString<v4f32>(ResultSz) << "\n"; in testSelect() 119 Ty ResultSz = Subzero_::select_i1(Cond, Value1, Value2); in testSelectI1() local 121 if (!memcmp(&ResultLlc, &ResultSz, sizeof(ResultLlc))) { in testSelectI1() 130 std::cout << "sz =" << vectAsString<T>(ResultSz) << "\n"; in testSelectI1()
|
D | test_cast_main.cpp | 39 ToCName ResultSz, ResultLlc; \ 41 ResultSz = Subzero_::Func<FromCName, ToCName>(Input); \ 43 if (!memcmp(&ResultLlc, &ResultSz, sizeof(ToCName))) { \ 50 std::cout << "sz=" << (int)ResultSz << " llc=" << (int)ResultLlc; \ 52 std::cout << "sz=" << ResultSz << " llc=" << ResultLlc; \ 59 ToCName ResultSz, ResultLlc; \ 61 ResultSz = Subzero_::Func<FromCName, ToCName>(1, Input, 2); \ 63 if (!memcmp(&ResultLlc, &ResultSz, sizeof(ToCName))) { \ 70 std::cout << "sz=" << (int)ResultSz << " llc=" << (int)ResultLlc; \ 72 std::cout << "sz=" << ResultSz << " llc=" << ResultLlc; \ [all …]
|
D | test_bitmanip_main.cpp | 106 Type ResultSz = Funcs[f].FuncSz(Value); in testBitManip() local 108 if (ResultSz == ResultLlc) { in testBitManip() 114 << "): sz=" << static_cast<uint64>(ResultSz) in testBitManip() 136 Type ResultSz = Funcs[f].FuncSz(Value); in testByteSwap() local 138 if (ResultSz == ResultLlc) { in testByteSwap() 144 << "): sz=" << static_cast<uint64>(ResultSz) in testByteSwap()
|
D | test_vector_ops_main.cpp | 83 Ty ResultSz = VectorOps<T>::Subzero_insertelement(Vect, Elt, I); in testInsertElement() local 85 if (!memcmp(&ResultLlc, &ResultSz, sizeof(ResultLlc))) { in testInsertElement() 94 std::cout << "sz =" << vectAsString<T>(ResultSz) << "\n"; in testInsertElement() 116 CastTy ResultSz = VectorOps<T>::Subzero_extractelement(Vect, I); in testExtractElement() local 118 if (!memcmp(&ResultLlc, &ResultSz, sizeof(ResultLlc))) { in testExtractElement() 125 std::cout << "sz =" << ResultSz << "\n"; in testExtractElement() 148 Ty ResultSz = VectorOps<T>::Subzero_shufflevector(Vect0, Vect1, Which); in testShuffleVector() local 150 if (!memcmp(&ResultLlc, &ResultSz, sizeof(ResultLlc))) { in testShuffleVector() 159 std::cout << "sz =" << vectAsString<T>(ResultSz) << "\n"; in testShuffleVector()
|