Home
last modified time | relevance | path

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

/frameworks/libs/binary_translation/base/
Dbit_util_test.cc59 static_assert(CountRZero(~uint32_t{1}) == 1);
60 static_assert(CountRZero(RawInt32{~UInt32{1}}) == RawInt32{1});
61 static_assert(CountRZero(SatUInt32{~Int32{1}}) == SatUInt32{1});
62 static_assert(CountRZero(~UInt32{1}) == UInt32{1});
63 static_assert(CountRZero(~uint64_t{1}) == 1);
64 static_assert(CountRZero(RawInt64{~UInt64{1}}) == RawInt64{1});
65 static_assert(CountRZero(SatUInt64{~Int64{1}}) == SatUInt64{1});
66 static_assert(CountRZero(~UInt64{1}) == UInt64{1});
68 static_assert(CountRZero(~static_cast<unsigned __int128>(1) << 64) == 65);
69 static_assert(CountRZero(RawInt128{~UInt128{1}}) == RawInt128{1});
[all …]
/frameworks/libs/binary_translation/base/include/berberis/base/
Dbit_util.h221 [[nodiscard]] constexpr T CountRZero(T x) { in CountRZero() function
243 [[nodiscard]] constexpr Raw<T> CountRZero(Raw<T> x) { in CountRZero() function
244 return {CountRZero(x.value)}; in CountRZero()
248 [[nodiscard]] constexpr Saturating<T> CountRZero(Saturating<T> x) { in CountRZero() function
249 return {CountRZero(x.value)}; in CountRZero()
253 [[nodiscard]] constexpr Wrapping<T> CountRZero(Wrapping<T> x) { in CountRZero() function
254 return {CountRZero(x.value)}; in CountRZero()
/frameworks/libs/binary_translation/intrinsics/riscv64/include/berberis/intrinsics/riscv64/
Dvector_intrinsics.h651 return CountRZero(src); in Vfirstm()