Lines Matching refs:RV_REG_T0
174 emit(rv_jalr(RV_REG_ZERO, RV_REG_T0, 4), ctx); in __build_epilogue()
257 emit_imm(RV_REG_T0, imm, ctx); in emit_alu_i64()
258 emit(rv_and(lo(rd), lo(rd), RV_REG_T0), ctx); in emit_alu_i64()
267 emit_imm(RV_REG_T0, imm, ctx); in emit_alu_i64()
268 emit(rv_or(lo(rd), lo(rd), RV_REG_T0), ctx); in emit_alu_i64()
277 emit_imm(RV_REG_T0, imm, ctx); in emit_alu_i64()
278 emit(rv_xor(lo(rd), lo(rd), RV_REG_T0), ctx); in emit_alu_i64()
290 emit(rv_srli(RV_REG_T0, lo(rd), 32 - imm), ctx); in emit_alu_i64()
292 emit(rv_or(hi(rd), RV_REG_T0, hi(rd)), ctx); in emit_alu_i64()
303 emit(rv_slli(RV_REG_T0, hi(rd), 32 - imm), ctx); in emit_alu_i64()
305 emit(rv_or(lo(rd), RV_REG_T0, lo(rd)), ctx); in emit_alu_i64()
316 emit(rv_slli(RV_REG_T0, hi(rd), 32 - imm), ctx); in emit_alu_i64()
318 emit(rv_or(lo(rd), RV_REG_T0, lo(rd)), ctx); in emit_alu_i64()
341 emit_imm(RV_REG_T0, imm, ctx); in emit_alu_i32()
342 emit(rv_add(lo(rd), lo(rd), RV_REG_T0), ctx); in emit_alu_i32()
349 emit_imm(RV_REG_T0, imm, ctx); in emit_alu_i32()
350 emit(rv_sub(lo(rd), lo(rd), RV_REG_T0), ctx); in emit_alu_i32()
357 emit_imm(RV_REG_T0, imm, ctx); in emit_alu_i32()
358 emit(rv_and(lo(rd), lo(rd), RV_REG_T0), ctx); in emit_alu_i32()
365 emit_imm(RV_REG_T0, imm, ctx); in emit_alu_i32()
366 emit(rv_or(lo(rd), lo(rd), RV_REG_T0), ctx); in emit_alu_i32()
373 emit_imm(RV_REG_T0, imm, ctx); in emit_alu_i32()
374 emit(rv_xor(lo(rd), lo(rd), RV_REG_T0), ctx); in emit_alu_i32()
381 emit_imm(RV_REG_T0, imm, ctx); in emit_alu_i32()
382 emit(rv_sll(lo(rd), lo(rd), RV_REG_T0), ctx); in emit_alu_i32()
389 emit_imm(RV_REG_T0, imm, ctx); in emit_alu_i32()
390 emit(rv_srl(lo(rd), lo(rd), RV_REG_T0), ctx); in emit_alu_i32()
397 emit_imm(RV_REG_T0, imm, ctx); in emit_alu_i32()
398 emit(rv_sra(lo(rd), lo(rd), RV_REG_T0), ctx); in emit_alu_i32()
421 emit(rv_srli(RV_REG_T0, lo(rd), 31), ctx); in emit_alu_r64()
423 emit(rv_or(hi(rd), RV_REG_T0, hi(rd)), ctx); in emit_alu_r64()
427 emit(rv_sltu(RV_REG_T0, lo(rd), lo(rs)), ctx); in emit_alu_r64()
429 emit(rv_add(hi(rd), hi(rd), RV_REG_T0), ctx); in emit_alu_r64()
434 emit(rv_sltu(RV_REG_T0, lo(rd), lo(rs)), ctx); in emit_alu_r64()
435 emit(rv_sub(hi(rd), RV_REG_T1, RV_REG_T0), ctx); in emit_alu_r64()
451 emit(rv_mul(RV_REG_T0, hi(rs), lo(rd)), ctx); in emit_alu_r64()
454 emit(rv_add(hi(rd), hi(rd), RV_REG_T0), ctx); in emit_alu_r64()
459 emit(rv_addi(RV_REG_T0, lo(rs), -32), ctx); in emit_alu_r64()
460 emit(rv_blt(RV_REG_T0, RV_REG_ZERO, 8), ctx); in emit_alu_r64()
461 emit(rv_sll(hi(rd), lo(rd), RV_REG_T0), ctx); in emit_alu_r64()
465 emit(rv_srli(RV_REG_T0, lo(rd), 1), ctx); in emit_alu_r64()
467 emit(rv_srl(RV_REG_T0, RV_REG_T0, RV_REG_T1), ctx); in emit_alu_r64()
469 emit(rv_or(hi(rd), RV_REG_T0, hi(rd)), ctx); in emit_alu_r64()
473 emit(rv_addi(RV_REG_T0, lo(rs), -32), ctx); in emit_alu_r64()
474 emit(rv_blt(RV_REG_T0, RV_REG_ZERO, 8), ctx); in emit_alu_r64()
475 emit(rv_srl(lo(rd), hi(rd), RV_REG_T0), ctx); in emit_alu_r64()
479 emit(rv_slli(RV_REG_T0, hi(rd), 1), ctx); in emit_alu_r64()
481 emit(rv_sll(RV_REG_T0, RV_REG_T0, RV_REG_T1), ctx); in emit_alu_r64()
483 emit(rv_or(lo(rd), RV_REG_T0, lo(rd)), ctx); in emit_alu_r64()
487 emit(rv_addi(RV_REG_T0, lo(rs), -32), ctx); in emit_alu_r64()
488 emit(rv_blt(RV_REG_T0, RV_REG_ZERO, 8), ctx); in emit_alu_r64()
489 emit(rv_sra(lo(rd), hi(rd), RV_REG_T0), ctx); in emit_alu_r64()
493 emit(rv_slli(RV_REG_T0, hi(rd), 1), ctx); in emit_alu_r64()
495 emit(rv_sll(RV_REG_T0, RV_REG_T0, RV_REG_T1), ctx); in emit_alu_r64()
497 emit(rv_or(lo(rd), RV_REG_T0, lo(rd)), ctx); in emit_alu_r64()
502 emit(rv_sltu(RV_REG_T0, RV_REG_ZERO, lo(rd)), ctx); in emit_alu_r64()
504 emit(rv_sub(hi(rd), hi(rd), RV_REG_T0), ctx); in emit_alu_r64()
635 emit(rv_and(RV_REG_T0, hi(rs1), hi(rs2)), ctx); in emit_branch_r64()
636 emit(rv_bne(RV_REG_T0, RV_REG_ZERO, JUMP(2)), ctx); in emit_branch_r64()
637 emit(rv_and(RV_REG_T0, lo(rs1), lo(rs2)), ctx); in emit_branch_r64()
638 emit(rv_beq(RV_REG_T0, RV_REG_ZERO, NO_JUMP(0)), ctx); in emit_branch_r64()
708 emit(rv_and(RV_REG_T0, rd, rs), ctx); in emit_bcc()
709 emit(rv_beq(RV_REG_T0, RV_REG_ZERO, off), ctx); in emit_bcc()
814 emit_sh2add(RV_REG_T0, lo(idx_reg), lo(arr_reg), ctx); in emit_bpf_tail_call()
818 emit(rv_lw(RV_REG_T0, off, RV_REG_T0), ctx); in emit_bpf_tail_call()
820 emit_bcc(BPF_JEQ, RV_REG_T0, RV_REG_ZERO, off, ctx); in emit_bpf_tail_call()
829 emit(rv_lw(RV_REG_T0, off, RV_REG_T0), ctx); in emit_bpf_tail_call()
843 emit_imm(RV_REG_T0, off, ctx); in emit_load_r64()
844 emit(rv_add(RV_REG_T0, RV_REG_T0, lo(rs)), ctx); in emit_load_r64()
848 emit(rv_lbu(lo(rd), 0, RV_REG_T0), ctx); in emit_load_r64()
853 emit(rv_lhu(lo(rd), 0, RV_REG_T0), ctx); in emit_load_r64()
858 emit(rv_lw(lo(rd), 0, RV_REG_T0), ctx); in emit_load_r64()
863 emit(rv_lw(lo(rd), 0, RV_REG_T0), ctx); in emit_load_r64()
864 emit(rv_lw(hi(rd), 4, RV_REG_T0), ctx); in emit_load_r64()
884 emit_imm(RV_REG_T0, off, ctx); in emit_store_r64()
885 emit(rv_add(RV_REG_T0, RV_REG_T0, lo(rd)), ctx); in emit_store_r64()
889 emit(rv_sb(RV_REG_T0, 0, lo(rs)), ctx); in emit_store_r64()
892 emit(rv_sh(RV_REG_T0, 0, lo(rs)), ctx); in emit_store_r64()
897 emit(rv_sw(RV_REG_T0, 0, lo(rs)), ctx); in emit_store_r64()
900 emit(rv_amoadd_w(RV_REG_ZERO, lo(rs), RV_REG_T0, 0, 0), in emit_store_r64()
906 emit(rv_sw(RV_REG_T0, 0, lo(rs)), ctx); in emit_store_r64()
907 emit(rv_sw(RV_REG_T0, 4, hi(rs)), ctx); in emit_store_r64()
926 emit(rv_andi(RV_REG_T0, rd, 255), ctx); in emit_rev32()
927 emit(rv_add(RV_REG_T1, RV_REG_T1, RV_REG_T0), ctx); in emit_rev32()
930 emit(rv_andi(RV_REG_T0, rd, 255), ctx); in emit_rev32()
931 emit(rv_add(RV_REG_T1, RV_REG_T1, RV_REG_T0), ctx); in emit_rev32()
934 emit(rv_andi(RV_REG_T0, rd, 255), ctx); in emit_rev32()
935 emit(rv_add(RV_REG_T1, RV_REG_T1, RV_REG_T0), ctx); in emit_rev32()
938 emit(rv_andi(RV_REG_T0, rd, 255), ctx); in emit_rev32()
939 emit(rv_add(RV_REG_T1, RV_REG_T1, RV_REG_T0), ctx); in emit_rev32()
1113 emit(rv_addi(RV_REG_T0, lo(rd), 0), ctx); in bpf_jit_emit_insn()
1115 emit(rv_addi(hi(rd), RV_REG_T0, 0), ctx); in bpf_jit_emit_insn()