Searched refs:SignedMod32 (Results 1 – 5 of 5) sorted by relevance
/external/v8/test/unittests/base/ |
D | bits-unittest.cc | 244 TEST(Bits, SignedMod32) { in TEST() argument 245 EXPECT_EQ(0, SignedMod32(std::numeric_limits<int32_t>::min(), -1)); in TEST() 246 EXPECT_EQ(0, SignedMod32(std::numeric_limits<int32_t>::max(), 1)); in TEST() 248 EXPECT_EQ(0, SignedMod32(i, 0)); in TEST() 250 EXPECT_EQ(0, SignedMod32(j, j)); in TEST() 251 EXPECT_EQ(i % j, SignedMod32(i, j)); in TEST() 252 EXPECT_EQ(i % j, SignedMod32(i, -j)); in TEST()
|
/external/v8/src/base/ |
D | bits.cc | 46 int32_t SignedMod32(int32_t lhs, int32_t rhs) { in SignedMod32() function
|
D | bits.h | 256 int32_t SignedMod32(int32_t lhs, int32_t rhs);
|
/external/v8/src/compiler/ |
D | machine-operator-reducer.cc | 589 base::bits::SignedMod32(m.left().Value(), m.right().Value())); in ReduceInt32Mod()
|
/external/v8/test/unittests/compiler/ |
D | machine-operator-reducer-unittest.cc | 1136 IsInt32Constant(base::bits::SignedMod32(dividend, divisor))); in TEST_F()
|