|
gem5
v19.0.0.0
|
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 | testRetRegVoid (ThreadContext *tc, int a) |
| int | testRetRegInt (ThreadContext *tc, int a) |
| 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_RetReg) | |
| 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 280 of file guest_abi.test.cc.
References EXPECT_EQ, and testIntVoid().
| TEST | ( | GuestABI | , |
| ABI_RetReg | |||
| ) |
Definition at line 288 of file guest_abi.test.cc.
References testRetRegInt(), and testRetRegVoid().
| TEST | ( | GuestABI | , |
| ABI_2D_args | |||
| ) |
Definition at line 295 of file guest_abi.test.cc.
References EXPECT_EQ, and test2DVoid().
| TEST | ( | GuestABI | , |
| ABI_TC_init | |||
| ) |
Definition at line 303 of file guest_abi.test.cc.
References ThreadContext::intOffset, and testTcInit().
| TEST | ( | GuestABI | , |
| ABI_returns | |||
| ) |
Definition at line 310 of file guest_abi.test.cc.
References DoubleRetValue, EXPECT_EQ, FloatRetValue, IntRetValue, testDoubleRet(), testFloatRet(), and testIntRet().
| TEST | ( | GuestABI | , |
| dumpSimcall | |||
| ) |
Definition at line 359 of file guest_abi.test.cc.
References Stats::dump(), EXPECT_EQ, and testIntVoid().
| TEST | ( | GuestABI | , |
| isVarArgs | |||
| ) |
Definition at line 366 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 249 of file guest_abi.test.cc.
References 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 218 of file guest_abi.test.cc.
References EXPECT_EQ, ThreadContext::floats, GuestABI::VarArgs< Types >::get(), and ThreadContext::ints.
Referenced by TEST().
| int testRetRegInt | ( | ThreadContext * | tc, |
| int | a | ||
| ) |
Definition at line 240 of file guest_abi.test.cc.
References EXPECT_EQ, and ThreadContext::ints.
Referenced by TEST().
| void testRetRegVoid | ( | ThreadContext * | tc, |
| int | a | ||
| ) |
Definition at line 234 of file guest_abi.test.cc.
References EXPECT_EQ, and ThreadContext::ints.
Referenced by TEST().
| void testTcInit | ( | ThreadContext * | tc, |
| int | a | ||
| ) |
Definition at line 263 of file guest_abi.test.cc.
References EXPECT_EQ, ThreadContext::intOffset, and ThreadContext::ints.
Referenced by TEST().
| const double DoubleRetValue = 12.34 |
Definition at line 272 of file guest_abi.test.cc.
Referenced by TEST(), and testDoubleRet().
| const float FloatRetValue = 3.14 |
Definition at line 271 of file guest_abi.test.cc.
Referenced by TEST(), and testFloatRet().
| const int IntRetValue = 50 |
Definition at line 270 of file guest_abi.test.cc.
Referenced by TEST(), and testIntRet().