Lines Matching refs:src_reg

359 		u32 src_reg = bpf_to_ppc(insn[i].src_reg);  in bpf_jit_build_body()  local
392 if (src_reg >= BPF_PPC_NVR_MIN && src_reg < 32) in bpf_jit_build_body()
393 bpf_set_seen_register(ctx, src_reg); in bpf_jit_build_body()
401 EMIT(PPC_RAW_ADD(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
405 EMIT(PPC_RAW_SUB(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
432 EMIT(PPC_RAW_MULW(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
434 EMIT(PPC_RAW_MULD(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
451 EMIT(PPC_RAW_DIVWU(tmp1_reg, dst_reg, src_reg)); in bpf_jit_build_body()
452 EMIT(PPC_RAW_MULW(tmp1_reg, src_reg, tmp1_reg)); in bpf_jit_build_body()
455 EMIT(PPC_RAW_DIVWU(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
460 EMIT(PPC_RAW_DIVDU(tmp1_reg, dst_reg, src_reg)); in bpf_jit_build_body()
461 EMIT(PPC_RAW_MULD(tmp1_reg, src_reg, tmp1_reg)); in bpf_jit_build_body()
464 EMIT(PPC_RAW_DIVDU(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
511 EMIT(PPC_RAW_AND(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
525 EMIT(PPC_RAW_OR(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
542 EMIT(PPC_RAW_XOR(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
559 EMIT(PPC_RAW_SLW(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
565 EMIT(PPC_RAW_SLD(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
578 EMIT(PPC_RAW_SRW(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
583 EMIT(PPC_RAW_SRD(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
595 EMIT(PPC_RAW_SRAW(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
598 EMIT(PPC_RAW_SRAD(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
618 EMIT(PPC_RAW_MR(dst_reg, src_reg)); in bpf_jit_build_body()
743 src_reg = tmp1_reg; in bpf_jit_build_body()
745 EMIT(PPC_RAW_STB(src_reg, dst_reg, off)); in bpf_jit_build_body()
751 src_reg = tmp1_reg; in bpf_jit_build_body()
753 EMIT(PPC_RAW_STH(src_reg, dst_reg, off)); in bpf_jit_build_body()
759 src_reg = tmp1_reg; in bpf_jit_build_body()
761 EMIT(PPC_RAW_STW(src_reg, dst_reg, off)); in bpf_jit_build_body()
767 src_reg = tmp1_reg; in bpf_jit_build_body()
771 EMIT(PPC_RAW_STDX(src_reg, dst_reg, tmp2_reg)); in bpf_jit_build_body()
773 EMIT(PPC_RAW_STD(src_reg, dst_reg, off)); in bpf_jit_build_body()
783 ret_reg = src_reg; in bpf_jit_build_body()
801 EMIT(PPC_RAW_ADD(tmp2_reg, tmp2_reg, src_reg)); in bpf_jit_build_body()
805 EMIT(PPC_RAW_AND(tmp2_reg, tmp2_reg, src_reg)); in bpf_jit_build_body()
809 EMIT(PPC_RAW_OR(tmp2_reg, tmp2_reg, src_reg)); in bpf_jit_build_body()
813 EMIT(PPC_RAW_XOR(tmp2_reg, tmp2_reg, src_reg)); in bpf_jit_build_body()
831 save_reg = src_reg; in bpf_jit_build_body()
882 EMIT(PPC_RAW_ADDI(tmp1_reg, src_reg, off)); in bpf_jit_build_body()
902 EMIT(PPC_RAW_LBZ(dst_reg, src_reg, off)); in bpf_jit_build_body()
905 EMIT(PPC_RAW_LHZ(dst_reg, src_reg, off)); in bpf_jit_build_body()
908 EMIT(PPC_RAW_LWZ(dst_reg, src_reg, off)); in bpf_jit_build_body()
913 EMIT(PPC_RAW_LDX(dst_reg, src_reg, tmp1_reg)); in bpf_jit_build_body()
915 EMIT(PPC_RAW_LD(dst_reg, src_reg, off)); in bpf_jit_build_body()
1069 EMIT(PPC_RAW_CMPLW(dst_reg, src_reg)); in bpf_jit_build_body()
1071 EMIT(PPC_RAW_CMPLD(dst_reg, src_reg)); in bpf_jit_build_body()
1083 EMIT(PPC_RAW_CMPW(dst_reg, src_reg)); in bpf_jit_build_body()
1085 EMIT(PPC_RAW_CMPD(dst_reg, src_reg)); in bpf_jit_build_body()
1090 EMIT(PPC_RAW_AND_DOT(tmp1_reg, dst_reg, src_reg)); in bpf_jit_build_body()
1092 EMIT(PPC_RAW_AND(tmp1_reg, dst_reg, src_reg)); in bpf_jit_build_body()