Searched refs:SignedDiv32 (Results 1 – 5 of 5) sorted by relevance
/external/v8/test/unittests/base/ |
D | bits-unittest.cc | 228 TEST(Bits, SignedDiv32) { in TEST() argument 230 SignedDiv32(std::numeric_limits<int32_t>::min(), -1)); in TEST() 232 SignedDiv32(std::numeric_limits<int32_t>::max(), 1)); in TEST() 234 EXPECT_EQ(0, SignedDiv32(i, 0)); in TEST() 236 EXPECT_EQ(1, SignedDiv32(j, j)); in TEST() 237 EXPECT_EQ(i / j, SignedDiv32(i, j)); in TEST() 238 EXPECT_EQ(-i / j, SignedDiv32(i, -j)); in TEST()
|
/external/v8/src/base/ |
D | bits.cc | 39 int32_t SignedDiv32(int32_t lhs, int32_t rhs) { in SignedDiv32() function
|
D | bits.h | 250 int32_t SignedDiv32(int32_t lhs, int32_t rhs);
|
/external/v8/src/compiler/ |
D | machine-operator-reducer.cc | 510 base::bits::SignedDiv32(m.left().Value(), m.right().Value())); in ReduceInt32Div()
|
/external/v8/src/arm/ |
D | simulator-arm.cc | 2936 ret_val = base::bits::SignedDiv32(rm_val, rs_val); in DecodeType3()
|