Lines Matching refs:inst

100         DynInstPtr inst;
107 inst = instList.front();
109 verify(inst); // verify the instructions
110 inst = NULL;
129 DynInstPtr inst;
159 inst = instList.front();
173 inst = completed_inst;
183 if (inst->isSerializeAfter() && !instList.empty()) {
188 unverifiedInst = inst;
189 inst = NULL;
459 Checker<Impl>::validateInst(const DynInstPtr &inst)
461 if (inst->instAddr() != thread->instAddr()) {
463 curTick(), inst->pcState(), thread->pcState());
468 handleError(inst);
472 if (curStaticInst != inst->staticInst) {
474 curStaticInst->getName(), inst->staticInst->getName());
480 Checker<Impl>::validateExecution(const DynInstPtr &inst)
489 if (inst->isUnverifiable()) {
493 copyResult(inst, InstResult(0ul, InstResult::ResultType::Scalar), idx);
494 } else if (inst->numDestRegs() > 0 && !result.empty()) {
496 inst->numDestRegs(), result.size());
497 for (int i = 0; i < inst->numDestRegs() && !result.empty(); i++) {
500 inst_val = inst->popResult(
513 // the static inst executed in the Checker. Sometimes the number
514 // of saved results differs between the dyninst and static inst, but
532 if (inst->isLoad() && warnOnlyOnLoadError) {
533 copyResult(inst, inst_val, idx);
535 handleError(inst);
539 if (inst->nextInstAddr() != thread->nextInstAddr()) {
542 curTick(), inst->nextInstAddr(), thread->nextInstAddr());
543 handleError(inst);
555 if (inst->tcBase()->readMiscRegNoEffect(misc_reg_idx) !=
560 inst->tcBase()->readMiscRegNoEffect(misc_reg_idx),
562 handleError(inst);
598 Checker<Impl>::copyResult(const DynInstPtr &inst,
604 const RegId& idx = inst->destRegIdx(start_idx);
637 for (int i = start_idx; i < inst->numDestRegs(); i++) {
638 const RegId& idx = inst->destRegIdx(i);
639 res = inst->popResult();
675 Checker<Impl>::dumpAndExit(const DynInstPtr &inst)
680 inst->pcState(),
681 inst->nextInstAddr(),
682 inst->seqNum,
683 inst->threadNumber,
684 inst->isCompleted());
685 inst->dump();