|
gem5
v20.1.0.5
|
Go to the source code of this file.
Functions | |
| TEST (IntmathTest, isPowerOf2) | |
| TEST (IntmathTest, power) | |
| TEST (IntmathTest, floorLog2) | |
| TEST (IntmathTest, ceilLog2) | |
| TEST (IntmathTest, divCeil) | |
| TEST (IntmathTest, roundUp) | |
| TEST (IntmathTest, roundDown) | |
| TEST | ( | IntmathTest | , |
| ceilLog2 | |||
| ) |
Definition at line 87 of file intmath.test.cc.
References ceilLog2(), and EXPECT_EQ.
| TEST | ( | IntmathTest | , |
| divCeil | |||
| ) |
Definition at line 100 of file intmath.test.cc.
| TEST | ( | IntmathTest | , |
| floorLog2 | |||
| ) |
Definition at line 51 of file intmath.test.cc.
References EXPECT_EQ, and floorLog2().
| TEST | ( | IntmathTest | , |
| isPowerOf2 | |||
| ) |
Definition at line 33 of file intmath.test.cc.
References EXPECT_FALSE, EXPECT_TRUE, and isPowerOf2().
| TEST | ( | IntmathTest | , |
| power | |||
| ) |
Definition at line 44 of file intmath.test.cc.
| TEST | ( | IntmathTest | , |
| roundDown | |||
| ) |
Definition at line 117 of file intmath.test.cc.
References EXPECT_EQ, and roundDown().
| TEST | ( | IntmathTest | , |
| roundUp | |||
| ) |
Definition at line 109 of file intmath.test.cc.