Lines Matching refs:src_reg

313 		u32 src_reg = b2p[insn[i].src_reg];  in bpf_jit_build_body()  local
341 if (src_reg >= BPF_PPC_NVR_MIN && src_reg < 32) in bpf_jit_build_body()
342 bpf_set_seen_register(ctx, src_reg); in bpf_jit_build_body()
350 EMIT(PPC_RAW_ADD(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
354 EMIT(PPC_RAW_SUB(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
381 EMIT(PPC_RAW_MULW(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
383 EMIT(PPC_RAW_MULD(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
402 EMIT(PPC_RAW_DIVWU(b2p[TMP_REG_1], dst_reg, src_reg)); in bpf_jit_build_body()
403 EMIT(PPC_RAW_MULW(b2p[TMP_REG_1], src_reg, in bpf_jit_build_body()
407 EMIT(PPC_RAW_DIVWU(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
412 EMIT(PPC_RAW_DIVDU(b2p[TMP_REG_1], dst_reg, src_reg)); in bpf_jit_build_body()
413 EMIT(PPC_RAW_MULD(b2p[TMP_REG_1], src_reg, in bpf_jit_build_body()
417 EMIT(PPC_RAW_DIVDU(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
476 EMIT(PPC_RAW_AND(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
490 EMIT(PPC_RAW_OR(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
507 EMIT(PPC_RAW_XOR(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
524 EMIT(PPC_RAW_SLW(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
530 EMIT(PPC_RAW_SLD(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
543 EMIT(PPC_RAW_SRW(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
548 EMIT(PPC_RAW_SRD(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
560 EMIT(PPC_RAW_SRAW(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
563 EMIT(PPC_RAW_SRAD(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
583 EMIT(PPC_RAW_MR(dst_reg, src_reg)); in bpf_jit_build_body()
705 src_reg = b2p[TMP_REG_1]; in bpf_jit_build_body()
707 EMIT(PPC_RAW_STB(src_reg, dst_reg, off)); in bpf_jit_build_body()
713 src_reg = b2p[TMP_REG_1]; in bpf_jit_build_body()
715 EMIT(PPC_RAW_STH(src_reg, dst_reg, off)); in bpf_jit_build_body()
721 src_reg = b2p[TMP_REG_1]; in bpf_jit_build_body()
723 EMIT(PPC_RAW_STW(src_reg, dst_reg, off)); in bpf_jit_build_body()
729 src_reg = b2p[TMP_REG_1]; in bpf_jit_build_body()
731 PPC_BPF_STL(src_reg, dst_reg, off); in bpf_jit_build_body()
753 EMIT(PPC_RAW_ADD(b2p[TMP_REG_2], b2p[TMP_REG_2], src_reg)); in bpf_jit_build_body()
771 EMIT(PPC_RAW_ADD(b2p[TMP_REG_2], b2p[TMP_REG_2], src_reg)); in bpf_jit_build_body()
781 EMIT(PPC_RAW_LBZ(dst_reg, src_reg, off)); in bpf_jit_build_body()
787 EMIT(PPC_RAW_LHZ(dst_reg, src_reg, off)); in bpf_jit_build_body()
793 EMIT(PPC_RAW_LWZ(dst_reg, src_reg, off)); in bpf_jit_build_body()
799 PPC_BPF_LL(dst_reg, src_reg, off); in bpf_jit_build_body()
929 EMIT(PPC_RAW_CMPLW(dst_reg, src_reg)); in bpf_jit_build_body()
931 EMIT(PPC_RAW_CMPLD(dst_reg, src_reg)); in bpf_jit_build_body()
943 EMIT(PPC_RAW_CMPW(dst_reg, src_reg)); in bpf_jit_build_body()
945 EMIT(PPC_RAW_CMPD(dst_reg, src_reg)); in bpf_jit_build_body()
951 src_reg)); in bpf_jit_build_body()
955 EMIT(PPC_RAW_AND(tmp_reg, dst_reg, src_reg)); in bpf_jit_build_body()