Home
last modified time | relevance | path

Searched refs:getSum64 (Results 1 – 2 of 2) sorted by relevance

/external/llvm/unittests/Support/
DScaledNumberTest.cpp426 EXPECT_EQ(SP64(1, 0), getSum64(0, 0, 1, 0)); in TEST()
427 EXPECT_EQ(SP64(8, -3), getSum64(0, 0, 8, -3)); in TEST()
428 EXPECT_EQ(SP64(UINT64_MAX, 0), getSum64(0, 0, UINT64_MAX, 0)); in TEST()
431 EXPECT_EQ(SP64(2, 0), getSum64(1, 0, 1, 0)); in TEST()
432 EXPECT_EQ(SP64(3, 0), getSum64(1, 0, 2, 0)); in TEST()
433 EXPECT_EQ(SP64(67, 0), getSum64(7, 0, 60, 0)); in TEST()
436 EXPECT_EQ(SP64(3, 0), getSum64(1, 0, 1, 1)); in TEST()
437 EXPECT_EQ(SP64(4, 0), getSum64(2, 0, 1, 1)); in TEST()
440 EXPECT_EQ(SP64(UINT64_C(1) << 63, 1), getSum64(1, 64, 1, 0)); in TEST()
441 EXPECT_EQ(SP64(UINT64_C(1) << 63, -63), getSum64(1, -64, 1, 0)); in TEST()
[all …]
/external/llvm/include/llvm/Support/
DScaledNumber.h362 inline std::pair<uint64_t, int16_t> getSum64(uint64_t LDigits, int16_t LScale, in getSum64() function