|
gem5
v19.0.0.0
|
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 | , |
| isPowerOf2 | |||
| ) |
Definition at line 36 of file intmath.test.cc.
References EXPECT_FALSE, EXPECT_TRUE, and isPowerOf2().
| TEST | ( | IntmathTest | , |
| power | |||
| ) |
Definition at line 47 of file intmath.test.cc.
| TEST | ( | IntmathTest | , |
| floorLog2 | |||
| ) |
Definition at line 54 of file intmath.test.cc.
References EXPECT_EQ, and floorLog2().
| TEST | ( | IntmathTest | , |
| ceilLog2 | |||
| ) |
Definition at line 66 of file intmath.test.cc.
References ceilLog2(), and EXPECT_EQ.
| TEST | ( | IntmathTest | , |
| divCeil | |||
| ) |
Definition at line 79 of file intmath.test.cc.
| TEST | ( | IntmathTest | , |
| roundUp | |||
| ) |
Definition at line 88 of file intmath.test.cc.
| TEST | ( | IntmathTest | , |
| roundDown | |||
| ) |
Definition at line 96 of file intmath.test.cc.
References EXPECT_EQ, and roundDown().