Lines Matching refs:t1
212 u8 t1 = LOONGARCH_GPR_T1;
229 emit_insn(ctx, ldwu, t1, a1, off);
230 /* bgeu $a2, $t1, jmp_offset */
231 if (emit_tailcall_jmp(ctx, BPF_JGE, a2, t1, jmp_offset) < 0)
279 const u8 t1 = LOONGARCH_GPR_T1;
289 move_imm(ctx, t1, off, false);
290 emit_insn(ctx, addd, t1, dst, t1);
297 emit_insn(ctx, amaddd, t2, t1, src);
299 emit_insn(ctx, amaddw, t2, t1, src);
303 emit_insn(ctx, amandd, t2, t1, src);
305 emit_insn(ctx, amandw, t2, t1, src);
309 emit_insn(ctx, amord, t2, t1, src);
311 emit_insn(ctx, amorw, t2, t1, src);
315 emit_insn(ctx, amxord, t2, t1, src);
317 emit_insn(ctx, amxorw, t2, t1, src);
322 emit_insn(ctx, amaddd, src, t1, t3);
324 emit_insn(ctx, amaddw, src, t1, t3);
330 emit_insn(ctx, amandd, src, t1, t3);
332 emit_insn(ctx, amandw, src, t1, t3);
338 emit_insn(ctx, amord, src, t1, t3);
340 emit_insn(ctx, amorw, src, t1, t3);
346 emit_insn(ctx, amxord, src, t1, t3);
348 emit_insn(ctx, amxorw, src, t1, t3);
355 emit_insn(ctx, amswapd, src, t1, t3);
357 emit_insn(ctx, amswapw, src, t1, t3);
365 emit_insn(ctx, lld, r0, t1, 0);
368 emit_insn(ctx, scd, t3, t1, 0);
371 emit_insn(ctx, llw, r0, t1, 0);
376 emit_insn(ctx, scw, t3, t1, 0);
458 const u8 t1 = LOONGARCH_GPR_T1;
493 move_imm(ctx, t1, imm, is32);
494 emit_insn(ctx, addd, dst, dst, t1);
512 move_imm(ctx, t1, imm, is32);
513 emit_insn(ctx, subd, dst, dst, t1);
528 move_imm(ctx, t1, imm, is32);
529 emit_insn(ctx, muld, dst, dst, t1);
537 move_reg(ctx, t1, src);
538 emit_zext_32(ctx, t1, is32);
539 emit_insn(ctx, divdu, dst, dst, t1);
546 move_imm(ctx, t1, imm, is32);
548 emit_insn(ctx, divdu, dst, dst, t1);
556 move_reg(ctx, t1, src);
557 emit_zext_32(ctx, t1, is32);
558 emit_insn(ctx, moddu, dst, dst, t1);
565 move_imm(ctx, t1, imm, is32);
567 emit_insn(ctx, moddu, dst, dst, t1);
574 move_imm(ctx, t1, imm, is32);
592 move_imm(ctx, t1, imm, is32);
593 emit_insn(ctx, and, dst, dst, t1);
611 move_imm(ctx, t1, imm, is32);
612 emit_insn(ctx, or, dst, dst, t1);
630 move_imm(ctx, t1, imm, is32);
631 emit_insn(ctx, xor, dst, dst, t1);
753 move_reg(ctx, t1, dst);
756 emit_sext_32(ctx, t1, is32);
759 emit_zext_32(ctx, t1, is32);
762 if (emit_cond_jmp(ctx, cond, t1, t2, jmp_offset) < 0)
789 move_imm(ctx, t1, imm, false);
790 tm = t1;
811 emit_insn(ctx, and, t1, dst, src);
812 emit_zext_32(ctx, t1, is32);
813 if (emit_cond_jmp(ctx, cond, t1, LOONGARCH_GPR_ZERO, jmp_offset) < 0)
821 move_imm(ctx, t1, imm, is32);
822 emit_insn(ctx, and, t1, dst, t1);
823 emit_zext_32(ctx, t1, is32);
824 if (emit_cond_jmp(ctx, cond, t1, LOONGARCH_GPR_ZERO, jmp_offset) < 0)
843 move_addr(ctx, t1, func_addr);
844 emit_insn(ctx, jirl, t1, LOONGARCH_GPR_RA, 0);
888 move_imm(ctx, t1, off, is32);
889 emit_insn(ctx, ldxbu, dst, src, t1);
896 move_imm(ctx, t1, off, is32);
897 emit_insn(ctx, ldxhu, dst, src, t1);
906 move_imm(ctx, t1, off, is32);
907 emit_insn(ctx, ldxwu, dst, src, t1);
911 move_imm(ctx, t1, off, is32);
912 emit_insn(ctx, ldxd, dst, src, t1);
928 move_imm(ctx, t1, imm, is32);
930 emit_insn(ctx, stb, t1, dst, off);
933 emit_insn(ctx, stxb, t1, dst, t2);
937 move_imm(ctx, t1, imm, is32);
939 emit_insn(ctx, sth, t1, dst, off);
942 emit_insn(ctx, stxh, t1, dst, t2);
946 move_imm(ctx, t1, imm, is32);
948 emit_insn(ctx, stw, t1, dst, off);
950 emit_insn(ctx, stptrw, t1, dst, off);
953 emit_insn(ctx, stxw, t1, dst, t2);
957 move_imm(ctx, t1, imm, is32);
959 emit_insn(ctx, std, t1, dst, off);
961 emit_insn(ctx, stptrd, t1, dst, off);
964 emit_insn(ctx, stxd, t1, dst, t2);
980 move_imm(ctx, t1, off, is32);
981 emit_insn(ctx, stxb, src, dst, t1);
988 move_imm(ctx, t1, off, is32);
989 emit_insn(ctx, stxh, src, dst, t1);
998 move_imm(ctx, t1, off, is32);
999 emit_insn(ctx, stxw, src, dst, t1);
1008 move_imm(ctx, t1, off, is32);
1009 emit_insn(ctx, stxd, src, dst, t1);