Home
last modified time | relevance | path

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

/external/llvm/unittests/Support/
DScaledNumberTest.cpp59 const uint64_t Max32In64 = UINT32_MAX; in TEST() local
63 EXPECT_EQ(getAdjusted32(Max32In64 << 1), SP32(UINT32_MAX, 1)); in TEST()
64 EXPECT_EQ(getAdjusted32(Max32In64 << 1, 1), SP32(UINT32_MAX, 2)); in TEST()
65 EXPECT_EQ(getAdjusted32(Max32In64 << 31), SP32(UINT32_MAX, 31)); in TEST()
66 EXPECT_EQ(getAdjusted32(Max32In64 << 32), SP32(UINT32_MAX, 32)); in TEST()
67 EXPECT_EQ(getAdjusted32(Max32In64 + 1), SP32(1u << 31, 1)); in TEST()
73 EXPECT_EQ(getAdjusted64(Max32In64 << 1), SP64(Max32In64 << 1, 0)); in TEST()
74 EXPECT_EQ(getAdjusted64(Max32In64 << 1, 1), SP64(Max32In64 << 1, 1)); in TEST()
75 EXPECT_EQ(getAdjusted64(Max32In64 << 31), SP64(Max32In64 << 31, 0)); in TEST()
76 EXPECT_EQ(getAdjusted64(Max32In64 << 32), SP64(Max32In64 << 32, 0)); in TEST()
[all …]