MCPcopy Create free account
hub / github.com/devosoft/avida / Inst_IfLess

Method Inst_IfLess

avida-core/source/cpu/cHardwareTransSMT.cc:1468–1474  ·  view source on GitHub ↗

22

Source from the content-addressed store, hash-verified

1466
1467//22
1468bool cHardwareTransSMT::Inst_IfLess(cAvidaContext&) // Execute next if ?bx? < ?cx?
1469{
1470 const int op1 = FindModifiedStack(STACK_AX);
1471 const int op2 = FindModifiedNextStack(op1);
1472 if (Stack(op1).Top() >= Stack(op2).Top()) IP().Advance();
1473 return true;
1474}
1475
1476//23
1477bool cHardwareTransSMT::Inst_IfGreater(cAvidaContext&) // Execute next if bx > ?cx?

Callers

nothing calls this directly

Calls 3

TopMethod · 0.80
StackClass · 0.70
AdvanceMethod · 0.45

Tested by

no test coverage detected