Lines Matching defs:instr
433 Condition Assembler::GetCondition(Instr instr) {
434 switch (instr & kCondMask) {
452 bool Assembler::Is32BitLoadIntoIP(SixByteInstr instr) {
454 return ((instr >> 32) == 0xC0C9);
475 SixByteInstr instr = instr_at(pos);
480 int16_t imm16 = SIGN_EXT_IMM16((instr & kImm16Mask));
487 static_cast<int32_t>(instr & (static_cast<uint64_t>(0xFFFFFFFF)));
494 instr = instr >> 16;
495 int16_t imm16 = SIGN_EXT_IMM16((instr & kImm16Mask));
508 SixByteInstr instr = instr_at(pos);
519 instr &= (~0xFFFF);
521 instr_at_put<FourByteInstr>(pos, instr | (imm16 >> 1));
527 instr &= (~static_cast<uint64_t>(0xFFFFFFFF));
528 instr_at_put<SixByteInstr>(pos, instr | (imm32 >> 1));
535 instr &= (~static_cast<uint64_t>(0xFFFFFFFF));
536 instr_at_put<SixByteInstr>(pos, instr | imm32);
541 instr &= (0xFFFF0000FFFF); // clear bits 16-31
545 instr_at_put<SixByteInstr>(pos, instr | (imm16 >> 1));
554 // Check which type of instr. In theory, we can return
733 bool Assembler::IsNop(SixByteInstr instr, int type) {
736 return ((instr & 0xFFFFFFFF) == 0xA53B0000); // oill r3, 0
738 return ((instr & 0xFFFF) == 0x1800); // lr r0,r0