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

Method Inst_Val_Mult

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

11

Source from the content-addressed store, hash-verified

1287
1288//11
1289bool cHardwareTransSMT::Inst_Val_Mult(cAvidaContext&)
1290{
1291 const int dst = FindModifiedStack(STACK_BX);
1292 const int op1 = FindModifiedStack(STACK_BX);
1293 const int op2 = FindModifiedNextStack(op1);
1294 Stack(dst).Push(Stack(op1).Top() * Stack(op2).Top());
1295 return true;
1296}
1297
1298//12
1299bool cHardwareTransSMT::Inst_Val_Div(cAvidaContext&)

Callers

nothing calls this directly

Calls 3

TopMethod · 0.80
StackClass · 0.70
PushMethod · 0.45

Tested by

no test coverage detected