Lines Matching refs:tmp_reg
286 u32 tmp_reg = bpf_to_ppc(ctx, TMP_REG); in bpf_jit_build_body() local
366 bpf_set_seen_register(ctx, tmp_reg); in bpf_jit_build_body()
369 EMIT(PPC_RAW_MULHWU(tmp_reg, dst_reg, src_reg)); in bpf_jit_build_body()
372 EMIT(PPC_RAW_ADD(dst_reg_h, dst_reg_h, tmp_reg)); in bpf_jit_build_body()
398 bpf_set_seen_register(ctx, tmp_reg); in bpf_jit_build_body()
399 PPC_LI32(tmp_reg, imm); in bpf_jit_build_body()
400 EMIT(PPC_RAW_MULW(dst_reg_h, dst_reg_h, tmp_reg)); in bpf_jit_build_body()
403 EMIT(PPC_RAW_MULHWU(_R0, dst_reg, tmp_reg)); in bpf_jit_build_body()
404 EMIT(PPC_RAW_MULW(dst_reg, dst_reg, tmp_reg)); in bpf_jit_build_body()
433 bpf_set_seen_register(ctx, tmp_reg); in bpf_jit_build_body()
434 PPC_LI32(tmp_reg, imm); in bpf_jit_build_body()
435 EMIT(PPC_RAW_DIVWU(_R0, dst_reg, tmp_reg)); in bpf_jit_build_body()
436 EMIT(PPC_RAW_MULW(_R0, tmp_reg, _R0)); in bpf_jit_build_body()
559 bpf_set_seen_register(ctx, tmp_reg); in bpf_jit_build_body()
562 EMIT(PPC_RAW_ADDI(tmp_reg, src_reg, 32)); in bpf_jit_build_body()
564 EMIT(PPC_RAW_SLW(tmp_reg, dst_reg, tmp_reg)); in bpf_jit_build_body()
567 EMIT(PPC_RAW_OR(dst_reg_h, dst_reg_h, tmp_reg)); in bpf_jit_build_body()
595 bpf_set_seen_register(ctx, tmp_reg); in bpf_jit_build_body()
598 EMIT(PPC_RAW_ADDI(tmp_reg, src_reg, 32)); in bpf_jit_build_body()
600 EMIT(PPC_RAW_SRW(tmp_reg, dst_reg_h, tmp_reg)); in bpf_jit_build_body()
603 EMIT(PPC_RAW_OR(dst_reg, dst_reg, tmp_reg)); in bpf_jit_build_body()
631 bpf_set_seen_register(ctx, tmp_reg); in bpf_jit_build_body()
635 EMIT(PPC_RAW_ADDI(tmp_reg, src_reg, 32)); in bpf_jit_build_body()
637 EMIT(PPC_RAW_RLWINM(_R0, tmp_reg, 0, 26, 26)); in bpf_jit_build_body()
638 EMIT(PPC_RAW_SRAW(tmp_reg, dst_reg_h, tmp_reg)); in bpf_jit_build_body()
640 EMIT(PPC_RAW_SLW(tmp_reg, tmp_reg, _R0)); in bpf_jit_build_body()
641 EMIT(PPC_RAW_OR(dst_reg, dst_reg, tmp_reg)); in bpf_jit_build_body()
715 bpf_set_seen_register(ctx, tmp_reg); in bpf_jit_build_body()
716 EMIT(PPC_RAW_RLWINM(tmp_reg, dst_reg, 8, 0, 31)); in bpf_jit_build_body()
719 EMIT(PPC_RAW_RLWIMI(tmp_reg, dst_reg, 24, 0, 7)); in bpf_jit_build_body()
722 EMIT(PPC_RAW_RLWIMI(tmp_reg, dst_reg, 24, 16, 23)); in bpf_jit_build_body()
725 EMIT(PPC_RAW_MR(dst_reg_h, tmp_reg)); in bpf_jit_build_body()
795 bpf_set_seen_register(ctx, tmp_reg); in bpf_jit_build_body()
797 EMIT(PPC_RAW_LI(tmp_reg, off)); in bpf_jit_build_body()
799 EMIT(PPC_RAW_LWARX(_R0, tmp_reg, dst_reg, 0)); in bpf_jit_build_body()
803 EMIT(PPC_RAW_STWCX(_R0, tmp_reg, dst_reg)); in bpf_jit_build_body()