Home
last modified time | relevance | path

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

/frameworks/libs/binary_translation/base/
Dbit_util_test.cc158 static_assert(SatInt16{1} + SatInt8{1} == SatInt16{2});
170 static_assert(MaybeTruncateTo<SatInt8>(SatInt16{32767}) == SatInt8{-1});
171 static_assert(TruncateTo<SatInt8>(SatInt16{32767}) == SatInt8{-1});
173 static_assert(MaybeTruncateTo<SatInt8>(SatInt16{-32768}) == SatInt8{0});
174 static_assert(TruncateTo<SatInt8>(SatInt16{-32768}) == SatInt8{0});
204 static_assert(std::is_same_v<Int16, WrappingType<SatInt16>>);
207 static_assert(std::is_same_v<SatInt16, SatInt16::SignedType>);
208 static_assert(std::is_same_v<SatInt16, SatUInt16::SignedType>);
209 static_assert(std::is_same_v<SatUInt16, SatInt16::UnsignedType>);
212 static_assert(std::is_same_v<SatInt16, SignedType<SatInt16>>);
[all …]
/frameworks/libs/binary_translation/intrinsics/include/berberis/intrinsics/
Dsimd_register.h316 SIMD_128_SAFEINT_REGISTER_GETTER_SETTER(SatInt16, int16);
/frameworks/libs/binary_translation/base/include/berberis/base/
Dbit_util.h734 using SatInt16 = Saturating<int16_t>; variable