Go to the source code of this file.
Classes | |
class | CalcExtContextTest |
class | EICtx |
Functions | |
void | ctxInst1 (boost::scoped_ptr< ExtendedInstructionContext > &context, RegisterRef< bool > *op) |
void | ctxInst2 (boost::scoped_ptr< ExtendedInstructionContext > &context, RegisterRef< bool > *op, RegisterRef< bool > *dummy2) |
void | ctxInst3 (boost::scoped_ptr< ExtendedInstructionContext > &context, RegisterRef< bool > *op, RegisterRef< bool > *dummy2, RegisterRef< bool > *dummy3) |
void | ctxInst4 (boost::scoped_ptr< ExtendedInstructionContext > &context, RegisterRef< bool > *op, RegisterRef< bool > *dummy2, RegisterRef< bool > *dummy3, RegisterRef< bool > *dummy4) |
void | ctxInst5 (boost::scoped_ptr< ExtendedInstructionContext > &context, RegisterRef< bool > *op, RegisterRef< bool > *dummy2, RegisterRef< bool > *dummy3, RegisterRef< bool > *dummy4, RegisterRef< bool > *dummy5) |
FENNEL_UNIT_TEST_SUITE (CalcExtContextTest) |
void ctxInst1 | ( | boost::scoped_ptr< ExtendedInstructionContext > & | context, | |
RegisterRef< bool > * | op | |||
) |
Definition at line 103 of file CalcExtContextTest.cpp.
References RegisterRef< TMPLT >::value().
Referenced by CalcExtContextTest::setupExtendedTestInstructions().
00106 { 00107 if (context.get()) { 00108 op->value(false); 00109 } else { 00110 context.reset(new EICtx); 00111 op->value(true); 00112 } 00113 }
void ctxInst2 | ( | boost::scoped_ptr< ExtendedInstructionContext > & | context, | |
RegisterRef< bool > * | op, | |||
RegisterRef< bool > * | dummy2 | |||
) |
Definition at line 116 of file CalcExtContextTest.cpp.
References RegisterRef< TMPLT >::value().
Referenced by CalcExtContextTest::setupExtendedTestInstructions().
00120 { 00121 if (context.get()) { 00122 op->value(false); 00123 } else { 00124 context.reset(new EICtx); 00125 op->value(true); 00126 } 00127 }
void ctxInst3 | ( | boost::scoped_ptr< ExtendedInstructionContext > & | context, | |
RegisterRef< bool > * | op, | |||
RegisterRef< bool > * | dummy2, | |||
RegisterRef< bool > * | dummy3 | |||
) |
Definition at line 130 of file CalcExtContextTest.cpp.
References RegisterRef< TMPLT >::value().
Referenced by CalcExtContextTest::setupExtendedTestInstructions().
00135 { 00136 if (context.get()) { 00137 op->value(false); 00138 } else { 00139 context.reset(new EICtx); 00140 op->value(true); 00141 } 00142 }
void ctxInst4 | ( | boost::scoped_ptr< ExtendedInstructionContext > & | context, | |
RegisterRef< bool > * | op, | |||
RegisterRef< bool > * | dummy2, | |||
RegisterRef< bool > * | dummy3, | |||
RegisterRef< bool > * | dummy4 | |||
) |
Definition at line 145 of file CalcExtContextTest.cpp.
References RegisterRef< TMPLT >::value().
Referenced by CalcExtContextTest::setupExtendedTestInstructions().
00151 { 00152 if (context.get()) { 00153 op->value(false); 00154 } else { 00155 context.reset(new EICtx); 00156 op->value(true); 00157 } 00158 }
void ctxInst5 | ( | boost::scoped_ptr< ExtendedInstructionContext > & | context, | |
RegisterRef< bool > * | op, | |||
RegisterRef< bool > * | dummy2, | |||
RegisterRef< bool > * | dummy3, | |||
RegisterRef< bool > * | dummy4, | |||
RegisterRef< bool > * | dummy5 | |||
) |
Definition at line 161 of file CalcExtContextTest.cpp.
References RegisterRef< TMPLT >::value().
Referenced by CalcExtContextTest::setupExtendedTestInstructions().
00168 { 00169 if (context.get()) { 00170 op->value(false); 00171 } else { 00172 context.reset(new EICtx); 00173 op->value(true); 00174 } 00175 }
FENNEL_UNIT_TEST_SUITE | ( | CalcExtContextTest | ) |