Lines Matching refs:imm

286 	const s32 imm = insn->imm;  in emit_atomic()  local
293 switch (imm) { in emit_atomic()
404 const s32 imm = insn->imm; in build_insn() local
405 const u64 imm64 = (u64)(insn + 1)->imm << 32 | (u32)insn->imm; in build_insn()
419 move_imm(ctx, dst, imm, is32); in build_insn()
432 if (is_signed_imm12(imm)) { in build_insn()
433 emit_insn(ctx, addid, dst, dst, imm); in build_insn()
435 move_imm(ctx, t1, imm, is32); in build_insn()
451 if (is_signed_imm12(-imm)) { in build_insn()
452 emit_insn(ctx, addid, dst, dst, -imm); in build_insn()
454 move_imm(ctx, t1, imm, is32); in build_insn()
470 move_imm(ctx, t1, imm, is32); in build_insn()
488 move_imm(ctx, t1, imm, is32); in build_insn()
507 move_imm(ctx, t1, imm, is32); in build_insn()
516 move_imm(ctx, t1, imm, is32); in build_insn()
531 if (is_unsigned_imm12(imm)) { in build_insn()
532 emit_insn(ctx, andi, dst, dst, imm); in build_insn()
534 move_imm(ctx, t1, imm, is32); in build_insn()
550 if (is_unsigned_imm12(imm)) { in build_insn()
551 emit_insn(ctx, ori, dst, dst, imm); in build_insn()
553 move_imm(ctx, t1, imm, is32); in build_insn()
569 if (is_unsigned_imm12(imm)) { in build_insn()
570 emit_insn(ctx, xori, dst, dst, imm); in build_insn()
572 move_imm(ctx, t1, imm, is32); in build_insn()
590 emit_insn(ctx, slliw, dst, dst, imm); in build_insn()
595 emit_insn(ctx, sllid, dst, dst, imm); in build_insn()
610 emit_insn(ctx, srliw, dst, dst, imm); in build_insn()
615 emit_insn(ctx, srlid, dst, dst, imm); in build_insn()
630 emit_insn(ctx, sraiw, dst, dst, imm); in build_insn()
635 emit_insn(ctx, sraid, dst, dst, imm); in build_insn()
640 switch (imm) { in build_insn()
656 switch (imm) { in build_insn()
730 if (imm) { in build_insn()
731 move_imm(ctx, t1, imm, false); in build_insn()
763 move_imm(ctx, t1, imm, is32); in build_insn()
866 move_imm(ctx, t1, imm, is32); in build_insn()
875 move_imm(ctx, t1, imm, is32); in build_insn()
884 move_imm(ctx, t1, imm, is32); in build_insn()
895 move_imm(ctx, t1, imm, is32); in build_insn()