|
gem5
v20.1.0.5
|
Go to the source code of this file.
Namespaces | |
| GuestABI | |
Functions | |
| void | testIntVoid (ThreadContext *tc, int a, float b, int c, double d, GuestABI::VarArgs< int, float, double > varargs) |
| void | testPrepareVoid (ThreadContext *tc, int a, int b) |
| int | testPrepareInt (ThreadContext *tc, int a, int b) |
| void | test2DVoid (ThreadContext *tc, int a, float b, int c, double d, GuestABI::VarArgs< int, float, double > varargs) |
| void | testTcInit (ThreadContext *tc, int a) |
| int | testIntRet (ThreadContext *tc) |
| float | testFloatRet (ThreadContext *tc) |
| double | testDoubleRet (ThreadContext *tc) |
| TEST (GuestABI, ABI_1D_args) | |
| TEST (GuestABI, ABI_Prepare) | |
| TEST (GuestABI, ABI_2D_args) | |
| TEST (GuestABI, ABI_TC_init) | |
| TEST (GuestABI, ABI_returns) | |
| TEST (GuestABI, dumpSimcall) | |
| TEST (GuestABI, isVarArgs) | |
Variables | |
| const int | IntRetValue = 50 |
| const float | FloatRetValue = 3.14 |
| const double | DoubleRetValue = 12.34 |
| TEST | ( | GuestABI | , |
| ABI_1D_args | |||
| ) |
Definition at line 294 of file guest_abi.test.cc.
References ThreadContext::DefaultFloatResult, ThreadContext::DefaultIntResult, EXPECT_EQ, ThreadContext::floatResult, ThreadContext::intResult, and testIntVoid().
| TEST | ( | GuestABI | , |
| ABI_2D_args | |||
| ) |
Definition at line 309 of file guest_abi.test.cc.
References ThreadContext::DefaultFloatResult, ThreadContext::DefaultIntResult, EXPECT_EQ, ThreadContext::floatResult, ThreadContext::intResult, and test2DVoid().
| TEST | ( | GuestABI | , |
| ABI_Prepare | |||
| ) |
Definition at line 302 of file guest_abi.test.cc.
References testPrepareInt(), and testPrepareVoid().
| TEST | ( | GuestABI | , |
| ABI_returns | |||
| ) |
Definition at line 324 of file guest_abi.test.cc.
References ThreadContext::DefaultFloatResult, ThreadContext::DefaultIntResult, DoubleRetValue, EXPECT_EQ, ThreadContext::floatResult, FloatRetValue, ThreadContext::intResult, IntRetValue, testDoubleRet(), testFloatRet(), and testIntRet().
| TEST | ( | GuestABI | , |
| ABI_TC_init | |||
| ) |
Definition at line 317 of file guest_abi.test.cc.
References ThreadContext::intOffset, and testTcInit().
| TEST | ( | GuestABI | , |
| dumpSimcall | |||
| ) |
Definition at line 382 of file guest_abi.test.cc.
References Stats::dump(), EXPECT_EQ, and testIntVoid().
| TEST | ( | GuestABI | , |
| isVarArgs | |||
| ) |
Definition at line 389 of file guest_abi.test.cc.
References EXPECT_FALSE, and EXPECT_TRUE.
| void test2DVoid | ( | ThreadContext * | tc, |
| int | a, | ||
| float | b, | ||
| int | c, | ||
| double | d, | ||
| GuestABI::VarArgs< int, float, double > | varargs | ||
| ) |
Definition at line 263 of file guest_abi.test.cc.
References ArmISA::a, ArmISA::b, ArmISA::c, ArmISA::d, EXPECT_EQ, ThreadContext::floats, GuestABI::VarArgs< Types >::get(), and ThreadContext::ints.
Referenced by TEST().
| double testDoubleRet | ( | ThreadContext * | tc | ) |
| float testFloatRet | ( | ThreadContext * | tc | ) |
| int testIntRet | ( | ThreadContext * | tc | ) |
| void testIntVoid | ( | ThreadContext * | tc, |
| int | a, | ||
| float | b, | ||
| int | c, | ||
| double | d, | ||
| GuestABI::VarArgs< int, float, double > | varargs | ||
| ) |
Definition at line 230 of file guest_abi.test.cc.
References ArmISA::a, ArmISA::b, ArmISA::c, ArmISA::d, EXPECT_EQ, ThreadContext::floats, GuestABI::VarArgs< Types >::get(), and ThreadContext::ints.
Referenced by TEST().
| int testPrepareInt | ( | ThreadContext * | tc, |
| int | a, | ||
| int | b | ||
| ) |
Definition at line 253 of file guest_abi.test.cc.
References ArmISA::a, ArmISA::b, EXPECT_EQ, and ThreadContext::ints.
Referenced by TEST().
| void testPrepareVoid | ( | ThreadContext * | tc, |
| int | a, | ||
| int | b | ||
| ) |
Definition at line 246 of file guest_abi.test.cc.
References ArmISA::a, ArmISA::b, EXPECT_EQ, and ThreadContext::ints.
Referenced by TEST().
| void testTcInit | ( | ThreadContext * | tc, |
| int | a | ||
| ) |
Definition at line 277 of file guest_abi.test.cc.
References ArmISA::a, EXPECT_EQ, ThreadContext::intOffset, and ThreadContext::ints.
Referenced by TEST().
| const double DoubleRetValue = 12.34 |
Definition at line 286 of file guest_abi.test.cc.
Referenced by TEST(), and testDoubleRet().
| const float FloatRetValue = 3.14 |
Definition at line 285 of file guest_abi.test.cc.
Referenced by TEST(), and testFloatRet().
| const int IntRetValue = 50 |
Definition at line 284 of file guest_abi.test.cc.
Referenced by TEST(), and testIntRet().