Lines Matching refs:src_reg

378 		u32 src_reg = bpf_to_ppc(insn[i].src_reg);  in bpf_jit_build_body()  local
411 if (src_reg >= BPF_PPC_NVR_MIN && src_reg < 32) in bpf_jit_build_body()
412 bpf_set_seen_register(ctx, src_reg); in bpf_jit_build_body()
420 EMIT(PPC_RAW_ADD(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
424 EMIT(PPC_RAW_SUB(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
451 EMIT(PPC_RAW_MULW(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
453 EMIT(PPC_RAW_MULD(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
470 EMIT(PPC_RAW_DIVWU(tmp1_reg, dst_reg, src_reg)); in bpf_jit_build_body()
471 EMIT(PPC_RAW_MULW(tmp1_reg, src_reg, tmp1_reg)); in bpf_jit_build_body()
474 EMIT(PPC_RAW_DIVWU(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
479 EMIT(PPC_RAW_DIVDU(tmp1_reg, dst_reg, src_reg)); in bpf_jit_build_body()
480 EMIT(PPC_RAW_MULD(tmp1_reg, src_reg, tmp1_reg)); in bpf_jit_build_body()
483 EMIT(PPC_RAW_DIVDU(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
530 EMIT(PPC_RAW_AND(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
544 EMIT(PPC_RAW_OR(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
561 EMIT(PPC_RAW_XOR(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
578 EMIT(PPC_RAW_SLW(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
584 EMIT(PPC_RAW_SLD(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
597 EMIT(PPC_RAW_SRW(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
602 EMIT(PPC_RAW_SRD(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
614 EMIT(PPC_RAW_SRAW(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
617 EMIT(PPC_RAW_SRAD(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
637 EMIT(PPC_RAW_MR(dst_reg, src_reg)); in bpf_jit_build_body()
762 src_reg = tmp1_reg; in bpf_jit_build_body()
764 EMIT(PPC_RAW_STB(src_reg, dst_reg, off)); in bpf_jit_build_body()
770 src_reg = tmp1_reg; in bpf_jit_build_body()
772 EMIT(PPC_RAW_STH(src_reg, dst_reg, off)); in bpf_jit_build_body()
778 src_reg = tmp1_reg; in bpf_jit_build_body()
780 EMIT(PPC_RAW_STW(src_reg, dst_reg, off)); in bpf_jit_build_body()
786 src_reg = tmp1_reg; in bpf_jit_build_body()
790 EMIT(PPC_RAW_STDX(src_reg, dst_reg, tmp2_reg)); in bpf_jit_build_body()
792 EMIT(PPC_RAW_STD(src_reg, dst_reg, off)); in bpf_jit_build_body()
802 ret_reg = src_reg; in bpf_jit_build_body()
820 EMIT(PPC_RAW_ADD(tmp2_reg, tmp2_reg, src_reg)); in bpf_jit_build_body()
824 EMIT(PPC_RAW_AND(tmp2_reg, tmp2_reg, src_reg)); in bpf_jit_build_body()
828 EMIT(PPC_RAW_OR(tmp2_reg, tmp2_reg, src_reg)); in bpf_jit_build_body()
832 EMIT(PPC_RAW_XOR(tmp2_reg, tmp2_reg, src_reg)); in bpf_jit_build_body()
850 save_reg = src_reg; in bpf_jit_build_body()
901 EMIT(PPC_RAW_ADDI(tmp1_reg, src_reg, off)); in bpf_jit_build_body()
921 EMIT(PPC_RAW_LBZ(dst_reg, src_reg, off)); in bpf_jit_build_body()
924 EMIT(PPC_RAW_LHZ(dst_reg, src_reg, off)); in bpf_jit_build_body()
927 EMIT(PPC_RAW_LWZ(dst_reg, src_reg, off)); in bpf_jit_build_body()
932 EMIT(PPC_RAW_LDX(dst_reg, src_reg, tmp1_reg)); in bpf_jit_build_body()
934 EMIT(PPC_RAW_LD(dst_reg, src_reg, off)); in bpf_jit_build_body()
1089 EMIT(PPC_RAW_CMPLW(dst_reg, src_reg)); in bpf_jit_build_body()
1091 EMIT(PPC_RAW_CMPLD(dst_reg, src_reg)); in bpf_jit_build_body()
1103 EMIT(PPC_RAW_CMPW(dst_reg, src_reg)); in bpf_jit_build_body()
1105 EMIT(PPC_RAW_CMPD(dst_reg, src_reg)); in bpf_jit_build_body()
1110 EMIT(PPC_RAW_AND_DOT(tmp1_reg, dst_reg, src_reg)); in bpf_jit_build_body()
1112 EMIT(PPC_RAW_AND(tmp1_reg, dst_reg, src_reg)); in bpf_jit_build_body()