Home
last modified time | relevance | path

Searched refs:Wrapping (Results 1 – 6 of 6) sorted by relevance

/frameworks/libs/binary_translation/base/include/berberis/base/
Dbit_util.h39 class Wrapping; variable
59 constexpr bool IsPowerOf2(Wrapping<T> x) { in IsPowerOf2()
89 constexpr Wrapping<T> AlignDown(Wrapping<T> x) { in AlignDown()
125 constexpr Wrapping<T> AlignUp(Wrapping<T> x) { in AlignUp()
161 constexpr bool IsAligned(Wrapping<T> x) { in IsAligned()
253 [[nodiscard]] constexpr Wrapping<T> CountRZero(Wrapping<T> x) { in CountRZero()
287 [[nodiscard]] constexpr Wrapping<T> Popcount(Wrapping<T> x) { in Popcount()
362 [[nodiscard]] constexpr operator Wrapping<IntType>() const {
429 [[nodiscard]] constexpr operator Wrapping<IntType>() const {
566 class Wrapping {
[all …]
/frameworks/libs/binary_translation/intrinsics/riscv64/
Dvector_intrinsics_test.cc33 ASSERT_EQ(VectorBroadcastForTests<Wrapping{std::numeric_limits<int8_t>::min()}>(), in TEST()
34 VectorBroadcast<Wrapping{std::numeric_limits<int8_t>::min()}>()); in TEST()
35 ASSERT_EQ(VectorBroadcastForTests<Wrapping{std::numeric_limits<int8_t>::max()}>(), in TEST()
36 VectorBroadcast<Wrapping{std::numeric_limits<int8_t>::max()}>()); in TEST()
37 ASSERT_EQ(VectorBroadcastForTests<Wrapping{std::numeric_limits<uint8_t>::max()}>(), in TEST()
38 VectorBroadcast<Wrapping{std::numeric_limits<uint8_t>::max()}>()); in TEST()
39 ASSERT_EQ(VectorBroadcastForTests<Wrapping{std::numeric_limits<int16_t>::min()}>(), in TEST()
40 VectorBroadcast<Wrapping{std::numeric_limits<int16_t>::min()}>()); in TEST()
41 ASSERT_EQ(VectorBroadcastForTests<Wrapping{std::numeric_limits<int16_t>::max()}>(), in TEST()
42 VectorBroadcast<Wrapping{std::numeric_limits<int16_t>::max()}>()); in TEST()
[all …]
/frameworks/libs/binary_translation/intrinsics/include/berberis/intrinsics/
Dintrinsics_fixed_point_impl.h65 using WrappingType = Wrapping<ElementType>; in Aadd()
90 using WrappingType = Wrapping<ElementType>; in Asub()
126 Wrapping value{unwrapped_v}; in Roundoff()
/frameworks/native/libs/bufferstreams/rust/
Dcbindgen.toml10 ############## Options for Wrapping the Contents of the Header #################
/frameworks/libs/binary_translation/interpreter/riscv64/
Dinterpreter.h1265 using SignedType = Wrapping<std::make_signed_t<typename TypeTraits<ElementType>::Int>>; in OpVector()
1477 using SignedType = Wrapping<std::make_signed_t<typename TypeTraits<ElementType>::Int>>; in OpVector()
1478 using UnsignedType = Wrapping<std::make_unsigned_t<typename TypeTraits<ElementType>::Int>>; in OpVector()
/frameworks/libs/binary_translation/intrinsics/riscv64/include/berberis/intrinsics/riscv64/
Dvector_intrinsics.h689 typename Wrapping<typename ElementType::BaseType>::UnsignedType value{ in Viotam()