Home
last modified time | relevance | path

Searched refs:SignedDiv32 (Results 1 – 5 of 5) sorted by relevance

/external/v8/test/unittests/base/
Dbits-unittest.cc228 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/
Dbits.cc39 int32_t SignedDiv32(int32_t lhs, int32_t rhs) { in SignedDiv32() function
Dbits.h250 int32_t SignedDiv32(int32_t lhs, int32_t rhs);
/external/v8/src/compiler/
Dmachine-operator-reducer.cc510 base::bits::SignedDiv32(m.left().Value(), m.right().Value())); in ReduceInt32Div()
/external/v8/src/arm/
Dsimulator-arm.cc2936 ret_val = base::bits::SignedDiv32(rm_val, rs_val); in DecodeType3()