Lines Matching defs:instr
381 inline void x_form(Instr instr, int f1, int f2, int f3, int rc) {
382 emit(instr | f1 * B21 | f2 * B16 | f3 * B11 | rc);
384 inline void x_form(Instr instr, Register rs, Register ra, Register rb,
386 emit(instr | rs.code() * B21 | ra.code() * B16 | rb.code() * B11 | rc);
388 inline void x_form(Instr instr, Register ra, Register rs, Register rb,
390 emit(instr | rs.code() * B21 | ra.code() * B16 | rb.code() * B11 | eh);
392 inline void x_form(Instr instr, CRegister cr, Register s1, Register s2,
399 emit(instr | cr.code() * B23 | L * B21 | s1.code() * B16 | s2.code() * B11 |
455 inline void xx2_form(Instr instr, T t, T b) {
466 emit(instr | (t.code() & 0x1F) * B21 | (b.code() & 0x1F) * B11 | BX * B1 |
488 inline void xx3_form(Instr instr, T t, T a, T b) {
499 emit(instr | (t.code() & 0x1F) * B21 | (a.code() & 0x1F) * B16 |
536 inline void vx_form(Instr instr, Simd128Register rt, Simd128Register rb,
538 emit(instr | (rt.code() & 0x1F) * B21 | (imm.immediate() & 0x1F) * B16 |
541 inline void vx_form(Instr instr, Simd128Register rt, Simd128Register ra,
543 emit(instr | (rt.code() & 0x1F) * B21 | ra.code() * B16 |
546 inline void vx_form(Instr instr, Simd128Register rt, Simd128Register rb) {
547 emit(instr | (rt.code() & 0x1F) * B21 | (rb.code() & 0x1F) * B11);
549 inline void vx_form(Instr instr, Simd128Register rt, const Operand& imm) {
550 emit(instr | (rt.code() & 0x1F) * B21 | (imm.immediate() & 0x1F) * B16);
552 inline void vx_form(Instr instr, Register rt, Simd128Register rb) {
553 emit(instr | (rt.code() & 0x1F) * B21 | (rb.code() & 0x1F) * B11);
555 inline void vx_form(Instr instr, Simd128Register rt, Register rb,
557 emit(instr | (rt.code() & 0x1F) * B21 | (imm.immediate() & 0x1F) * B16 |
583 inline void va_form(Instr instr, Simd128Register rt, Simd128Register ra,
585 emit(instr | (rt.code() & 0x1F) * B21 | (ra.code() & 0x1F) * B16 |
598 inline void vc_form(Instr instr, Simd128Register rt, Simd128Register ra,
600 emit(instr | (rt.code() & 0x1F) * B21 | (ra.code() & 0x1F) * B16 |
615 inline void prefix_form(Instr instr, const Operand& imm, int pr) {
616 emit_prefix(instr | pr * B20 | (imm.immediate() & kImm18Mask));
1249 void instr_at_put(int pos, Instr instr) {
1250 *reinterpret_cast<Instr*>(buffer_start_ + pos) = instr;
1253 static void instr_at_put(Address pc, Instr instr) {
1254 *reinterpret_cast<Instr*>(pc) = instr;
1256 static Condition GetCondition(Instr instr);
1258 static bool IsLis(Instr instr);
1259 static bool IsLi(Instr instr);
1260 static bool IsAddic(Instr instr);
1261 static bool IsOri(Instr instr);
1263 static bool IsBranch(Instr instr);
1264 static Register GetRA(Instr instr);
1265 static Register GetRB(Instr instr);
1273 static bool IsCmpRegister(Instr instr);
1274 static bool IsCmpImmediate(Instr instr);
1275 static bool IsRlwinm(Instr instr);
1276 static bool IsAndi(Instr instr);
1278 static bool IsRldicl(Instr instr);
1280 static bool IsCrSet(Instr instr);
1281 static Register GetCmpImmediateRegister(Instr instr);
1282 static int GetCmpImmediateRawImmediate(Instr instr);
1283 static bool IsNop(Instr instr, int type = NON_MARKING_NOP);
1465 void a_form(Instr instr, DoubleRegister frt, DoubleRegister fra,
1467 void d_form(Instr instr, Register rt, Register ra, const intptr_t val,
1469 void xo_form(Instr instr, Register rt, Register ra, Register rb, OEBit o,
1471 void md_form(Instr instr, Register ra, Register rs, int shift, int maskbit,
1473 void mds_form(Instr instr, Register ra, Register rs, Register rb, int maskbit,