/external/swiftshader/third_party/subzero/crosstest/ |
D | test_arith_main.cpp | 102 TypeUnsigned ResultSz, ResultLlc; in testsInt() local 105 ResultLlc = Funcs[f].FuncLlcUnsigned(Value1, Value2); in testsInt() 108 ResultLlc = Funcs[f].FuncLlcSigned(Value1, Value2); in testsInt() 110 if (ResultSz == ResultLlc) { in testsInt() 117 << " llc=" << (unsigned)ResultLlc << "\n"; in testsInt() 138 TypeUnsigned ResultSz, ResultLlc; in testsInt() local 141 ResultLlc = Funcs[f].FuncLlcUnsigned(Value1, Value2); in testsInt() 144 ResultLlc = Funcs[f].FuncLlcSigned(Value1, Value2); in testsInt() 146 if (ResultSz == ResultLlc) { in testsInt() 153 << " llc=" << (uint64)ResultLlc << "\n"; in testsInt() [all …]
|
D | test_fcmp_main.cpp | 94 bool ResultSz, ResultLlc; in testsScalar() local 105 ResultLlc = Funcs[f].FuncFloatLlc(Value1Float, Value2Float); in testsScalar() 106 if (ResultSz == ResultLlc) { in testsScalar() 112 << " llc=" << ResultLlc << "\n"; in testsScalar() 118 ResultLlc = Funcs[f].FuncDoubleLlc(Value1Double, Value2Double); in testsScalar() 119 if (ResultSz == ResultLlc) { in testsScalar() 125 << " llc=" << ResultLlc << "\n"; in testsScalar() 131 ResultLlc = Funcs[f].FuncFloatSelectLlc(Value1Float, Value2Float, 1, 2); in testsScalar() 132 if (ResultSz == ResultLlc) { in testsScalar() 138 << " llc=" << ResultLlc << "\n"; in testsScalar() [all …]
|
D | test_icmp_main.cpp | 80 bool ResultLlc = Funcs[f].FuncLlc(Value1, Value2); in testsInt() local 81 if (ResultSz == ResultLlc) { in testsInt() 88 << " llc=" << ResultLlc << "\n"; in testsInt() 107 bool ResultLlc = Funcs[f].FuncLlc(Value1, Value2); in testsInt() local 108 if (ResultSz == ResultLlc) { in testsInt() 115 << " llc=" << ResultLlc << "\n"; in testsInt() 161 bool ResultLlc = Funcs[f].FuncLlc(Value); in testsIntWithZero() local 162 if (ResultSz == ResultLlc) { in testsIntWithZero() 168 << "): sz=" << ResultSz << " llc=" << ResultLlc << "\n"; in testsIntWithZero() 182 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_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_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_bitmanip_main.cpp | 70 Type ResultLlc = Funcs[f].FuncLlc(Value); in testBitManip() local 71 if (ResultSz == ResultLlc) { in testBitManip() 78 << " llc=" << static_cast<uint64>(ResultLlc) << "\n"; in testBitManip() 100 Type ResultLlc = Funcs[f].FuncLlc(Value); in testByteSwap() local 101 if (ResultSz == ResultLlc) { in testByteSwap() 108 << " llc=" << static_cast<uint64>(ResultLlc) << "\n"; in testByteSwap()
|
D | test_sync_atomic_main.cpp | 228 Type ResultLlc = *AtomicLoc; in testAtomicRMWThreads() local 252 if (ResultLlc == ResultMixed) { in testAtomicRMWThreads() 259 << "): llc=" << static_cast<uint64>(ResultLlc) in testAtomicRMWThreads()
|