/external/swiftshader/third_party/subzero/crosstest/ |
D | test_arith_main.cpp | 106 TypeUnsigned ResultSz, ResultLlc; in testsInt() local 109 ResultLlc = Funcs[f].FuncLlcUnsigned(Value1, Value2); in testsInt() 112 ResultLlc = Funcs[f].FuncLlcSigned(Value1, Value2); in testsInt() 114 if (ResultSz == ResultLlc) { in testsInt() 121 << " llc=" << (unsigned)ResultLlc << "\n"; in testsInt() 142 TypeUnsigned ResultSz, ResultLlc; in testsInt() local 145 ResultLlc = Funcs[f].FuncLlcUnsigned(Value1, Value2); in testsInt() 148 ResultLlc = Funcs[f].FuncLlcSigned(Value1, Value2); in testsInt() 150 if (ResultSz == ResultLlc) { in testsInt() 157 << " llc=" << (uint64)ResultLlc << "\n"; in testsInt() [all …]
|
D | test_fcmp_main.cpp | 92 bool ResultSz, ResultLlc; in testsScalar() local 103 ResultLlc = Funcs[f].FuncFloatLlc(Value1Float, Value2Float); in testsScalar() 104 if (ResultSz == ResultLlc) { in testsScalar() 110 << " llc=" << ResultLlc << "\n"; in testsScalar() 116 ResultLlc = Funcs[f].FuncDoubleLlc(Value1Double, Value2Double); in testsScalar() 117 if (ResultSz == ResultLlc) { in testsScalar() 123 << " llc=" << ResultLlc << "\n"; in testsScalar() 129 ResultLlc = Funcs[f].FuncFloatSelectLlc(Value1Float, Value2Float, 1, 2); in testsScalar() 130 if (ResultSz == ResultLlc) { in testsScalar() 136 << " llc=" << ResultLlc << "\n"; in testsScalar() [all …]
|
D | test_icmp_main.cpp | 74 bool ResultLlc = Funcs[f].FuncLlc(Value1, Value2); in testsInt() local 75 if (ResultSz == ResultLlc) { in testsInt() 82 << " llc=" << ResultLlc << "\n"; in testsInt() 101 bool ResultLlc = Funcs[f].FuncLlc(Value1, Value2); in testsInt() local 102 if (ResultSz == ResultLlc) { in testsInt() 109 << " llc=" << ResultLlc << "\n"; in testsInt() 149 bool ResultLlc = Funcs[f].FuncLlc(Value); in testsIntWithZero() local 150 if (ResultSz == ResultLlc) { in testsIntWithZero() 156 << "): sz=" << ResultSz << " llc=" << ResultLlc << "\n"; in testsIntWithZero() 170 bool ResultLlc = Funcs[f].FuncLlc(Value); in testsIntWithZero() local [all …]
|
D | test_select_main.cpp | 52 Ty ResultLlc = select(Cond, Value1, Value2); in testSelect() local 55 if (!memcmp(&ResultLlc, &ResultSz, sizeof(ResultLlc))) { in testSelect() 63 std::cout << "llc=" << vectAsString<T>(ResultLlc) << "\n"; in testSelect() 88 v4f32 ResultLlc = select(Cond, Value1, Value2); in testSelect() local 91 if (!memcmp(&ResultLlc, &ResultSz, sizeof(ResultLlc))) { in testSelect() 99 std::cout << "llc=" << vectAsString<v4f32>(ResultLlc) << "\n"; in testSelect() 118 Ty ResultLlc = select_i1(Cond, Value1, Value2); in testSelectI1() local 121 if (!memcmp(&ResultLlc, &ResultSz, sizeof(ResultLlc))) { in testSelectI1() 129 std::cout << "llc=" << vectAsString<T>(ResultLlc) << "\n"; in testSelectI1()
|
D | test_vector_ops_main.cpp | 82 Ty ResultLlc = VectorOps<T>::insertelement(Vect, Elt, I); in testInsertElement() local 85 if (!memcmp(&ResultLlc, &ResultSz, sizeof(ResultLlc))) { in testInsertElement() 93 std::cout << "llc=" << vectAsString<T>(ResultLlc) << "\n"; in testInsertElement() 115 CastTy ResultLlc = VectorOps<T>::extractelement(Vect, I); in testExtractElement() local 118 if (!memcmp(&ResultLlc, &ResultSz, sizeof(ResultLlc))) { in testExtractElement() 124 std::cout << "llc=" << ResultLlc << "\n"; in testExtractElement() 147 Ty ResultLlc = VectorOps<T>::shufflevector(Vect0, Vect1, Which); in testShuffleVector() local 150 if (!memcmp(&ResultLlc, &ResultSz, sizeof(ResultLlc))) { in testShuffleVector() 158 std::cout << "llc=" << vectAsString<T>(ResultLlc) << "\n"; in testShuffleVector()
|
D | test_cast_main.cpp | 39 ToCName ResultSz, ResultLlc; \ 40 ResultLlc = 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; \ 60 ResultLlc = 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 | 107 Type ResultLlc = Funcs[f].FuncLlc(Value); in testBitManip() local 108 if (ResultSz == ResultLlc) { in testBitManip() 115 << " llc=" << static_cast<uint64>(ResultLlc) << "\n"; in testBitManip() 137 Type ResultLlc = Funcs[f].FuncLlc(Value); in testByteSwap() local 138 if (ResultSz == ResultLlc) { in testByteSwap() 145 << " llc=" << static_cast<uint64>(ResultLlc) << "\n"; in testByteSwap()
|
D | test_sync_atomic_main.cpp | 258 Type ResultLlc = *AtomicLoc; in testAtomicRMWThreads() local 282 if (ResultLlc == ResultMixed) { in testAtomicRMWThreads() 289 << "): llc=" << static_cast<uint64>(ResultLlc) in testAtomicRMWThreads()
|