Lines Matching refs:t1
212 u8 t1 = LOONGARCH_GPR_T1; in emit_bpf_tail_call() local
229 emit_insn(ctx, ldwu, t1, a1, off); in emit_bpf_tail_call()
231 if (emit_tailcall_jmp(ctx, BPF_JGE, a2, t1, jmp_offset) < 0) in emit_bpf_tail_call()
279 const u8 t1 = LOONGARCH_GPR_T1; in emit_atomic() local
289 move_imm(ctx, t1, off, false); in emit_atomic()
290 emit_insn(ctx, addd, t1, dst, t1); in emit_atomic()
297 emit_insn(ctx, amaddd, t2, t1, src); in emit_atomic()
299 emit_insn(ctx, amaddw, t2, t1, src); in emit_atomic()
303 emit_insn(ctx, amandd, t2, t1, src); in emit_atomic()
305 emit_insn(ctx, amandw, t2, t1, src); in emit_atomic()
309 emit_insn(ctx, amord, t2, t1, src); in emit_atomic()
311 emit_insn(ctx, amorw, t2, t1, src); in emit_atomic()
315 emit_insn(ctx, amxord, t2, t1, src); in emit_atomic()
317 emit_insn(ctx, amxorw, t2, t1, src); in emit_atomic()
322 emit_insn(ctx, amaddd, src, t1, t3); in emit_atomic()
324 emit_insn(ctx, amaddw, src, t1, t3); in emit_atomic()
330 emit_insn(ctx, amandd, src, t1, t3); in emit_atomic()
332 emit_insn(ctx, amandw, src, t1, t3); in emit_atomic()
338 emit_insn(ctx, amord, src, t1, t3); in emit_atomic()
340 emit_insn(ctx, amorw, src, t1, t3); in emit_atomic()
346 emit_insn(ctx, amxord, src, t1, t3); in emit_atomic()
348 emit_insn(ctx, amxorw, src, t1, t3); in emit_atomic()
355 emit_insn(ctx, amswapd, src, t1, t3); in emit_atomic()
357 emit_insn(ctx, amswapw, src, t1, t3); in emit_atomic()
365 emit_insn(ctx, lld, r0, t1, 0); in emit_atomic()
368 emit_insn(ctx, scd, t3, t1, 0); in emit_atomic()
371 emit_insn(ctx, llw, r0, t1, 0); in emit_atomic()
376 emit_insn(ctx, scw, t3, t1, 0); in emit_atomic()
458 const u8 t1 = LOONGARCH_GPR_T1; in build_insn() local
494 move_imm(ctx, t1, imm, is32); in build_insn()
495 emit_insn(ctx, addd, dst, dst, t1); in build_insn()
513 move_imm(ctx, t1, imm, is32); in build_insn()
514 emit_insn(ctx, subd, dst, dst, t1); in build_insn()
529 move_imm(ctx, t1, imm, is32); in build_insn()
530 emit_insn(ctx, muld, dst, dst, t1); in build_insn()
538 move_reg(ctx, t1, src); in build_insn()
539 emit_zext_32(ctx, t1, is32); in build_insn()
540 emit_insn(ctx, divdu, dst, dst, t1); in build_insn()
547 move_imm(ctx, t1, imm, is32); in build_insn()
549 emit_insn(ctx, divdu, dst, dst, t1); in build_insn()
557 move_reg(ctx, t1, src); in build_insn()
558 emit_zext_32(ctx, t1, is32); in build_insn()
559 emit_insn(ctx, moddu, dst, dst, t1); in build_insn()
566 move_imm(ctx, t1, imm, is32); in build_insn()
568 emit_insn(ctx, moddu, dst, dst, t1); in build_insn()
575 move_imm(ctx, t1, imm, is32); in build_insn()
593 move_imm(ctx, t1, imm, is32); in build_insn()
594 emit_insn(ctx, and, dst, dst, t1); in build_insn()
612 move_imm(ctx, t1, imm, is32); in build_insn()
613 emit_insn(ctx, or, dst, dst, t1); in build_insn()
631 move_imm(ctx, t1, imm, is32); in build_insn()
632 emit_insn(ctx, xor, dst, dst, t1); in build_insn()
754 move_reg(ctx, t1, dst); in build_insn()
757 emit_sext_32(ctx, t1, is32); in build_insn()
760 emit_zext_32(ctx, t1, is32); in build_insn()
763 if (emit_cond_jmp(ctx, cond, t1, t2, jmp_offset) < 0) in build_insn()
790 move_imm(ctx, t1, imm, false); in build_insn()
791 tm = t1; in build_insn()
812 emit_insn(ctx, and, t1, dst, src); in build_insn()
813 emit_zext_32(ctx, t1, is32); in build_insn()
814 if (emit_cond_jmp(ctx, cond, t1, LOONGARCH_GPR_ZERO, jmp_offset) < 0) in build_insn()
822 move_imm(ctx, t1, imm, is32); in build_insn()
823 emit_insn(ctx, and, t1, dst, t1); in build_insn()
824 emit_zext_32(ctx, t1, is32); in build_insn()
825 if (emit_cond_jmp(ctx, cond, t1, LOONGARCH_GPR_ZERO, jmp_offset) < 0) in build_insn()
844 move_addr(ctx, t1, func_addr); in build_insn()
845 emit_insn(ctx, jirl, t1, LOONGARCH_GPR_RA, 0); in build_insn()
887 move_imm(ctx, t1, off, is32); in build_insn()
888 emit_insn(ctx, ldxbu, dst, src, t1); in build_insn()
895 move_imm(ctx, t1, off, is32); in build_insn()
896 emit_insn(ctx, ldxhu, dst, src, t1); in build_insn()
905 move_imm(ctx, t1, off, is32); in build_insn()
906 emit_insn(ctx, ldxwu, dst, src, t1); in build_insn()
915 move_imm(ctx, t1, off, is32); in build_insn()
916 emit_insn(ctx, ldxd, dst, src, t1); in build_insn()
933 move_imm(ctx, t1, imm, is32); in build_insn()
935 emit_insn(ctx, stb, t1, dst, off); in build_insn()
938 emit_insn(ctx, stxb, t1, dst, t2); in build_insn()
942 move_imm(ctx, t1, imm, is32); in build_insn()
944 emit_insn(ctx, sth, t1, dst, off); in build_insn()
947 emit_insn(ctx, stxh, t1, dst, t2); in build_insn()
951 move_imm(ctx, t1, imm, is32); in build_insn()
953 emit_insn(ctx, stw, t1, dst, off); in build_insn()
955 emit_insn(ctx, stptrw, t1, dst, off); in build_insn()
958 emit_insn(ctx, stxw, t1, dst, t2); in build_insn()
962 move_imm(ctx, t1, imm, is32); in build_insn()
964 emit_insn(ctx, std, t1, dst, off); in build_insn()
966 emit_insn(ctx, stptrd, t1, dst, off); in build_insn()
969 emit_insn(ctx, stxd, t1, dst, t2); in build_insn()
985 move_imm(ctx, t1, off, is32); in build_insn()
986 emit_insn(ctx, stxb, src, dst, t1); in build_insn()
993 move_imm(ctx, t1, off, is32); in build_insn()
994 emit_insn(ctx, stxh, src, dst, t1); in build_insn()
1003 move_imm(ctx, t1, off, is32); in build_insn()
1004 emit_insn(ctx, stxw, src, dst, t1); in build_insn()
1013 move_imm(ctx, t1, off, is32); in build_insn()
1014 emit_insn(ctx, stxd, src, dst, t1); in build_insn()