Home
last modified time | relevance | path

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

/external/FXdiv/test/
Dmultiply-high.cc6 EXPECT_EQ(UINT32_C(0), fxdiv_mulhi_uint32_t(UINT32_C(0), UINT32_C(0))); in TEST()
7 EXPECT_EQ(UINT32_C(0), fxdiv_mulhi_uint32_t(UINT32_C(1), UINT32_C(1))); in TEST()
8 EXPECT_EQ(UINT32_C(0), fxdiv_mulhi_uint32_t(UINT32_C(1), UINT32_MAX)); in TEST()
9 EXPECT_EQ(UINT32_C(0), fxdiv_mulhi_uint32_t(UINT32_MAX, UINT32_C(1))); in TEST()
10 EXPECT_EQ(UINT32_C(1), fxdiv_mulhi_uint32_t(UINT32_C(65536), UINT32_C(65536))); in TEST()
11 EXPECT_EQ(UINT32_MAX - UINT32_C(1), fxdiv_mulhi_uint32_t(UINT32_MAX, UINT32_MAX)); in TEST()
12 …EXPECT_EQ(UINT32_C(28389652), fxdiv_mulhi_uint32_t(UINT32_C(123456789), UINT32_C(987654321))… in TEST()
13 …EXPECT_EQ(UINT32_C(28389652), fxdiv_mulhi_uint32_t(UINT32_C(987654321), UINT32_C(123456789))… in TEST()
/external/FXdiv/bench/
Dmultiply.cc27 static void fxdiv_mulhi_uint32_t(benchmark::State& state) { in fxdiv_mulhi_uint32_t() function
31 const uint32_t product = fxdiv_mulhi_uint32_t(c, x++); in fxdiv_mulhi_uint32_t()
35 BENCHMARK(fxdiv_mulhi_uint32_t);
/external/FXdiv/include/
Dfxdiv.h34 static inline uint32_t fxdiv_mulhi_uint32_t(uint32_t a, uint32_t b) { in fxdiv_mulhi_uint32_t() function
64 (uint64_t) fxdiv_mulhi_uint32_t(a_lo, b_lo); in fxdiv_mulhi_uint64_t()
72 return (size_t) fxdiv_mulhi_uint32_t((uint32_t) a, (uint32_t) b); in fxdiv_mulhi_size_t()
343 const uint32_t t = fxdiv_mulhi_uint32_t(n, divisor.m); in fxdiv_quotient_uint32_t()