gem5 v24.0.0.0
|
Go to the source code of this file.
Functions | |
TEST (FlagsTest, ConstructorZero) | |
Test default zero-initialized constructor. | |
TEST (FlagsTest, ConstructorSingle) | |
Test constructor with a single-bit initial value. | |
TEST (FlagsTest, ConstructorMulti) | |
Test constructor with an initial multi-bit value. | |
TEST (FlagsTest, TypeAssignment) | |
Test assignment of variable of underlying type. | |
TEST (FlagsTest, TypeAssignmentOverwrite) | |
Test assignment of variable of underlying type, overwriting an initial value. | |
TEST (FlagsTest, FlagsAssignment) | |
Test assignment of other Flags. | |
TEST (FlagsTest, FlagsAssignmentOverwrite) | |
Test assignment of other Flags, overwriting an initial value. | |
TEST (FlagsTest, IsSetValue) | |
Test isSet for multiple bits set. | |
TEST (FlagsTest, IsSetType) | |
Test isSet comparing against another flag. | |
TEST (FlagsTest, AllSetMatch) | |
Test allSet comparing against another flag. | |
TEST (FlagsTest, NoneSetMatch) | |
Test noneSet comparing against another flag. | |
TEST (FlagsTest, Clear) | |
Test if no bits are set after a full clear. | |
TEST (FlagsTest, ClearMatch) | |
Test clearing specific bits. | |
TEST (FlagsTest, SetOverlapping) | |
Test setting with a few overlapping bits. | |
TEST (FlagsTest, ConditionalSet) | |
Test conditional set. | |
TEST (FlagsTest, ReplaceOverlapping) | |
Test replacing a masked selection of bits. | |
TEST | ( | FlagsTest | , |
AllSetMatch | ) |
Test allSet comparing against another flag.
Definition at line 127 of file flags.test.cc.
References flags.
TEST | ( | FlagsTest | , |
Clear | ) |
Test if no bits are set after a full clear.
Definition at line 149 of file flags.test.cc.
References flags.
TEST | ( | FlagsTest | , |
ClearMatch | ) |
TEST | ( | FlagsTest | , |
ConditionalSet | ) |
Test conditional set.
If true the selected bits are set; otherwise, they are cleared.
Definition at line 182 of file flags.test.cc.
References gem5::Flags< T >::set().
TEST | ( | FlagsTest | , |
ConstructorMulti | ) |
Test constructor with an initial multi-bit value.
Definition at line 54 of file flags.test.cc.
References flags.
TEST | ( | FlagsTest | , |
ConstructorSingle | ) |
Test constructor with a single-bit initial value.
Definition at line 46 of file flags.test.cc.
References flags.
TEST | ( | FlagsTest | , |
ConstructorZero | ) |
Test default zero-initialized constructor.
Definition at line 39 of file flags.test.cc.
References flags.
TEST | ( | FlagsTest | , |
FlagsAssignment | ) |
Test assignment of other Flags.
Definition at line 84 of file flags.test.cc.
TEST | ( | FlagsTest | , |
FlagsAssignmentOverwrite | ) |
Test assignment of other Flags, overwriting an initial value.
Definition at line 94 of file flags.test.cc.
TEST | ( | FlagsTest | , |
IsSetType | ) |
Test isSet comparing against another flag.
Definition at line 116 of file flags.test.cc.
References flags.
TEST | ( | FlagsTest | , |
IsSetValue | ) |
TEST | ( | FlagsTest | , |
NoneSetMatch | ) |
Test noneSet comparing against another flag.
Definition at line 137 of file flags.test.cc.
References flags.
TEST | ( | FlagsTest | , |
ReplaceOverlapping | ) |
Test replacing a masked selection of bits.
This means that bits of the original value that match the mask will be replaced by the bits of the new value that match the mask.
Definition at line 201 of file flags.test.cc.
References flags, and gem5::ArmISA::mask.
TEST | ( | FlagsTest | , |
SetOverlapping | ) |
Test setting with a few overlapping bits.
Definition at line 169 of file flags.test.cc.
References flags.
TEST | ( | FlagsTest | , |
TypeAssignment | ) |
Test assignment of variable of underlying type.
Definition at line 62 of file flags.test.cc.
References flags.
TEST | ( | FlagsTest | , |
TypeAssignmentOverwrite | ) |
Test assignment of variable of underlying type, overwriting an initial value.
Definition at line 74 of file flags.test.cc.
References flags.