Home | History | Annotate | Download | only in mips

Lines Matching full:sim_

79   Simulator* sim_;
98 sim_ = sim;
126 sim_->set_pc(sim_->get_pc() + Instruction::kInstructionSize);
139 sim_->set_pc(sim_->get_pc() + Instruction::kInstructionSize);
147 return sim_->get_pc();
149 return sim_->get_register(regnum);
168 if (sim_->break_pc_ != NULL) {
173 sim_->break_pc_ = breakpc;
174 sim_->break_instr_ = breakpc->InstructionBits();
182 if (sim_->break_pc_ != NULL) {
183 sim_->break_pc_->SetInstructionBits(sim_->break_instr_);
186 sim_->break_pc_ = NULL;
187 sim_->break_instr_ = 0;
193 if (sim_->break_pc_ != NULL) {
194 sim_->break_pc_->SetInstructionBits(sim_->break_instr_);
200 if (sim_->break_pc_ != NULL) {
201 sim_->break_pc_->SetInstructionBits(kBreakpointInstr);
264 while (!done && (sim_->get_pc() != Simulator::end_sim_pc)) {
265 if (last_pc != sim_->get_pc()) {
271 reinterpret_cast<byte_*>(sim_->get_pc()));
272 PrintF(" 0x%08x %s\n", sim_->get_pc(), buffer.start());
273 last_pc = sim_->get_pc();
287 if (!(reinterpret_cast<Instruction*>(sim_->get_pc())->IsTrap())) {
288 sim_->InstructionDecode(
289 reinterpret_cast<Instruction*>(sim_->get_pc()));
293 sim_->set_pc(sim_->get_pc() + Instruction::kInstructionSize);
297 sim_->InstructionDecode(reinterpret_cast<Instruction*>(sim_->get_pc()));
344 cur = reinterpret_cast<byte_*>(sim_->get_pc());
406 cur = reinterpret_cast<byte_*>(sim_->get_pc());