Home | History | Annotate | Download | only in mips

Lines Matching refs:Instr

183   Instr* pc = reinterpret_cast<Instr*>(pc_);
184 Instr* instr = reinterpret_cast<Instr*>(instructions);
186 *(pc + i) = *(instr + i);
305 bool Assembler::is_branch(Instr instr) {
306 uint32_t opcode = ((instr & kOpcodeMask));
307 uint32_t rt_field = ((instr & kRtFieldMask));
308 uint32_t rs_field = ((instr & kRsFieldMask));
325 Instr instr = instr_at(pos);
326 if ((instr & ~kImm16Mask) == 0) {
328 return instr - (Code::kHeaderSize - kHeapObjectTag);
331 ASSERT(is_branch(instr));
334 int32_t imm18 = ((instr &
342 Instr instr = instr_at(pos);
343 if ((instr & ~kImm16Mask) == 0) {
351 ASSERT(is_branch(instr));
355 instr &= ~kImm16Mask;
359 instr_at_put(pos, instr | (imm16 & kImm16Mask));
373 Instr instr = instr_at(l.pos());
374 if ((instr & ~kImm16Mask) == 0) {
377 PrintF("%d\n", instr);
463 Instr instr = opcode | (rs.code() << kRsShift) | (rt.code() << kRtShift)
465 emit(instr);
476 Instr instr = opcode | fmt | (ft.code() << 16) | (fs.code() << kFsShift)
478 emit(instr);
489 Instr instr = opcode | fmt | (rt.code() << kRtShift)
491 emit(instr);
502 Instr instr = opcode | (rs.code() << kRsShift) | (rt.code() << kRtShift)
504 emit(instr);
513 Instr instr = opcode | (rs.code() << kRsShift) | SF | (j & kImm16Mask);
514 emit(instr);
523 Instr instr = opcode | (rs.code() << kRsShift) | (ft.code() << kFtShift)
525 emit(instr);
533 Instr instr = opcode | address;
534 emit(instr);
810 Instr break_instr = SPECIAL | BREAK | (code << 6);
817 Instr instr = SPECIAL | TGE | rs.code() << kRsShift
819 emit(instr);
825 Instr instr = SPECIAL | TGEU | rs.code() << kRsShift
827 emit(instr);
833 Instr instr =
835 emit(instr);
841 Instr instr = SPECIAL | TLTU | rs.code() << kRsShift
843 emit(instr);
849 Instr instr =
851 emit(instr);
857 Instr instr =
859 emit(instr);
996 Instr instr = COP1 | fmt | ft.code() << 16 | fs.code() << kFsShift
998 emit(instr);
1004 Instr instr = COP1 | BC1 | cc << 18 | 0 << 16 | (offset & kImm16Mask);
1005 emit(instr);
1011 Instr instr = COP1 | BC1 | cc << 18 | 1 << 16 | (offset & kImm16Mask);
1012 emit(instr);
1133 Instr instr1 = instr_at(pc);
1134 Instr instr2 = instr_at(pc + kInstrSize);
1165 Instr instr2 = instr_at(pc + kInstrSize);
1167 Instr instr1 = instr_at(pc);