Home
last modified time | relevance | path

Searched refs:ResultSz (Results 1 – 7 of 7) sorted by relevance

/external/swiftshader/third_party/subzero/crosstest/
Dtest_arith_main.cpp102 TypeUnsigned ResultSz, ResultLlc; in testsInt() local
104 ResultSz = Funcs[f].FuncSzUnsigned(Value1, Value2); in testsInt()
107 ResultSz = Funcs[f].FuncSzSigned(Value1, Value2); in testsInt()
110 if (ResultSz == ResultLlc) { in testsInt()
116 << ", " << Value2 << "): sz=" << (unsigned)ResultSz in testsInt()
138 TypeUnsigned ResultSz, ResultLlc; in testsInt() local
140 ResultSz = Funcs[f].FuncSzUnsigned(Value1, Value2); in testsInt()
143 ResultSz = Funcs[f].FuncSzSigned(Value1, Value2); in testsInt()
146 if (ResultSz == ResultLlc) { in testsInt()
152 << ", " << Value2 << "): sz=" << (uint64)ResultSz in testsInt()
[all …]
Dtest_fcmp_main.cpp94 bool ResultSz, ResultLlc; in testsScalar() local
104 ResultSz = Funcs[f].FuncFloatSz(Value1Float, Value2Float); in testsScalar()
106 if (ResultSz == ResultLlc) { in testsScalar()
111 << Value2Float << "): sz=" << ResultSz in testsScalar()
117 ResultSz = Funcs[f].FuncDoubleSz(Value1Double, Value2Double); in testsScalar()
119 if (ResultSz == ResultLlc) { in testsScalar()
124 << Value2Double << "): sz=" << ResultSz in testsScalar()
130 ResultSz = Funcs[f].FuncFloatSelectSz(Value1Float, Value2Float, 1, 2); in testsScalar()
132 if (ResultSz == ResultLlc) { in testsScalar()
137 << Value2Float << "): sz=" << ResultSz in testsScalar()
[all …]
Dtest_icmp_main.cpp79 bool ResultSz = Funcs[f].FuncSz(Value1, Value2); in testsInt() local
81 if (ResultSz == ResultLlc) { in testsInt()
87 << ", " << Value2 << "): sz=" << ResultSz in testsInt()
106 bool ResultSz = Funcs[f].FuncSz(Value1, Value2); in testsInt() local
108 if (ResultSz == ResultLlc) { in testsInt()
114 << ", " << Value2 << "): sz=" << ResultSz in testsInt()
160 bool ResultSz = Funcs[f].FuncSz(Value); in testsIntWithZero() local
162 if (ResultSz == ResultLlc) { in testsIntWithZero()
168 << "): sz=" << ResultSz << " llc=" << ResultLlc << "\n"; in testsIntWithZero()
181 bool ResultSz = Funcs[f].FuncSz(Value); in testsIntWithZero() local
[all …]
Dtest_cast_main.cpp39 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 …]
Dtest_select_main.cpp53 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()
Dtest_bitmanip_main.cpp69 Type ResultSz = Funcs[f].FuncSz(Value); in testBitManip() local
71 if (ResultSz == ResultLlc) { in testBitManip()
77 << "): sz=" << static_cast<uint64>(ResultSz) in testBitManip()
99 Type ResultSz = Funcs[f].FuncSz(Value); in testByteSwap() local
101 if (ResultSz == ResultLlc) { in testByteSwap()
107 << "): sz=" << static_cast<uint64>(ResultSz) in testByteSwap()
Dtest_vector_ops_main.cpp83 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()