Lines Matching refs:src_reg

360 		u32 src_reg = bpf_to_ppc(insn[i].src_reg);  in bpf_jit_build_body()  local
393 if (src_reg >= BPF_PPC_NVR_MIN && src_reg < 32) in bpf_jit_build_body()
394 bpf_set_seen_register(ctx, src_reg); in bpf_jit_build_body()
402 EMIT(PPC_RAW_ADD(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
406 EMIT(PPC_RAW_SUB(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
433 EMIT(PPC_RAW_MULW(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
435 EMIT(PPC_RAW_MULD(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
452 EMIT(PPC_RAW_DIVWU(tmp1_reg, dst_reg, src_reg)); in bpf_jit_build_body()
453 EMIT(PPC_RAW_MULW(tmp1_reg, src_reg, tmp1_reg)); in bpf_jit_build_body()
456 EMIT(PPC_RAW_DIVWU(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
461 EMIT(PPC_RAW_DIVDU(tmp1_reg, dst_reg, src_reg)); in bpf_jit_build_body()
462 EMIT(PPC_RAW_MULD(tmp1_reg, src_reg, tmp1_reg)); in bpf_jit_build_body()
465 EMIT(PPC_RAW_DIVDU(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
512 EMIT(PPC_RAW_AND(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
526 EMIT(PPC_RAW_OR(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
543 EMIT(PPC_RAW_XOR(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
560 EMIT(PPC_RAW_SLW(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
566 EMIT(PPC_RAW_SLD(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
579 EMIT(PPC_RAW_SRW(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
584 EMIT(PPC_RAW_SRD(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
596 EMIT(PPC_RAW_SRAW(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
599 EMIT(PPC_RAW_SRAD(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
619 EMIT(PPC_RAW_MR(dst_reg, src_reg)); in bpf_jit_build_body()
744 src_reg = tmp1_reg; in bpf_jit_build_body()
746 EMIT(PPC_RAW_STB(src_reg, dst_reg, off)); in bpf_jit_build_body()
752 src_reg = tmp1_reg; in bpf_jit_build_body()
754 EMIT(PPC_RAW_STH(src_reg, dst_reg, off)); in bpf_jit_build_body()
760 src_reg = tmp1_reg; in bpf_jit_build_body()
762 EMIT(PPC_RAW_STW(src_reg, dst_reg, off)); in bpf_jit_build_body()
768 src_reg = tmp1_reg; in bpf_jit_build_body()
772 EMIT(PPC_RAW_STDX(src_reg, dst_reg, tmp2_reg)); in bpf_jit_build_body()
774 EMIT(PPC_RAW_STD(src_reg, dst_reg, off)); in bpf_jit_build_body()
784 ret_reg = src_reg; in bpf_jit_build_body()
802 EMIT(PPC_RAW_ADD(tmp2_reg, tmp2_reg, src_reg)); in bpf_jit_build_body()
806 EMIT(PPC_RAW_AND(tmp2_reg, tmp2_reg, src_reg)); in bpf_jit_build_body()
810 EMIT(PPC_RAW_OR(tmp2_reg, tmp2_reg, src_reg)); in bpf_jit_build_body()
814 EMIT(PPC_RAW_XOR(tmp2_reg, tmp2_reg, src_reg)); in bpf_jit_build_body()
832 save_reg = src_reg; in bpf_jit_build_body()
883 EMIT(PPC_RAW_ADDI(tmp1_reg, src_reg, off)); in bpf_jit_build_body()
903 EMIT(PPC_RAW_LBZ(dst_reg, src_reg, off)); in bpf_jit_build_body()
906 EMIT(PPC_RAW_LHZ(dst_reg, src_reg, off)); in bpf_jit_build_body()
909 EMIT(PPC_RAW_LWZ(dst_reg, src_reg, off)); in bpf_jit_build_body()
914 EMIT(PPC_RAW_LDX(dst_reg, src_reg, tmp1_reg)); in bpf_jit_build_body()
916 EMIT(PPC_RAW_LD(dst_reg, src_reg, off)); in bpf_jit_build_body()
1071 EMIT(PPC_RAW_CMPLW(dst_reg, src_reg)); in bpf_jit_build_body()
1073 EMIT(PPC_RAW_CMPLD(dst_reg, src_reg)); in bpf_jit_build_body()
1085 EMIT(PPC_RAW_CMPW(dst_reg, src_reg)); in bpf_jit_build_body()
1087 EMIT(PPC_RAW_CMPD(dst_reg, src_reg)); in bpf_jit_build_body()
1092 EMIT(PPC_RAW_AND_DOT(tmp1_reg, dst_reg, src_reg)); in bpf_jit_build_body()
1094 EMIT(PPC_RAW_AND(tmp1_reg, dst_reg, src_reg)); in bpf_jit_build_body()