Home
last modified time | relevance | path

Searched refs:castBits (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/subzero/crosstest/
Dtest_cast.cpp27 ToType __attribute__((noinline)) castBits(FromType a) { in castBits() function
39 ToType __attribute__((noinline)) castBits(int i, FromType a, int j) { in castBits() function
95 Result += castBits<uint32_t, float>(0); in makeBitCasters()
96 Result += castBits<uint64, double>(0); in makeBitCasters()
97 Result += castBits<float, uint32_t>(0); in makeBitCasters()
98 Result += castBits<double, uint64>(0); in makeBitCasters()
99 Result += castBits<uint32_t, float>(1, 0, 2); in makeBitCasters()
100 Result += castBits<uint64, double>(1, 0, 2); in makeBitCasters()
101 Result += castBits<float, uint32_t>(1, 0, 2); in makeBitCasters()
102 Result += castBits<double, uint64>(1, 0, 2); in makeBitCasters()
Dtest_cast_main.cpp231 COMPARE(castBits, uint32_t, float, Val, "uint32_t"); in main()
232 COMPARE_ARG(castBits, uint32_t, float, Val, "uint32_t"); in main()
241 COMPARE(castBits, uint64, double, Val, "uint64"); in main()
242 COMPARE_ARG(castBits, uint64, double, Val, "uint64"); in main()
254 COMPARE(castBits, float, uint32_t, Val, "float"); in main()
255 COMPARE_ARG(castBits, float, uint32_t, Val, "float"); in main()
264 COMPARE(castBits, double, uint64, Val, "double"); in main()
265 COMPARE_ARG(castBits, double, uint64, Val, "double"); in main()
Dtest_cast.h23 template <typename FromType, typename ToType> ToType castBits(FromType a);
32 ToType castBits(int i, FromType a, int j);