Home
last modified time | relevance | path

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

/frameworks/libs/binary_translation/base/
Dbit_util_test.cc94 static_assert(Add(SatUInt8{254}, SatUInt8{1}) == std::tuple{SatUInt8{255}, false});
95 static_assert(Add(SatUInt8{255}, SatUInt8{1}) == std::tuple{SatUInt8{255}, true});
96 static_assert(SatUInt8{255} + SatUInt8{1} == SatUInt8{255});
104 static_assert(Sub(SatUInt8{1}, SatUInt8{1}) == std::tuple{SatUInt8{0}, false});
105 static_assert(Sub(SatUInt8{0}, SatUInt8{1}) == std::tuple{SatUInt8{0}, true});
106 static_assert(SatUInt8{0} - SatUInt8{1} == SatUInt8{0});
126 static_assert(Mul(SatUInt8{255}, SatUInt8{1}) == std::tuple{SatUInt8{255}, false});
127 static_assert(Mul(SatUInt8{255}, SatUInt8{255}) == std::tuple{SatUInt8{255}, true});
128 static_assert(SatUInt8{255} * SatUInt8{255} == SatUInt8{255});
137 static_assert(Div(SatUInt8{255}, SatUInt8{1}) == std::tuple{SatUInt8{255}, false});
[all …]
/frameworks/libs/binary_translation/intrinsics/include/berberis/intrinsics/
Dsimd_register.h312 SIMD_128_SAFEINT_REGISTER_GETTER_SETTER(SatUInt8, uint8);
/frameworks/libs/binary_translation/base/include/berberis/base/
Dbit_util.h733 using SatUInt8 = Saturating<uint8_t>; variable