Lines Matching refs:src_reg
284 u32 src_reg = b2p[insn[i].src_reg]; in bpf_jit_build_body() local
311 if (src_reg >= BPF_PPC_NVR_MIN && src_reg < 32) in bpf_jit_build_body()
312 bpf_set_seen_register(ctx, insn[i].src_reg); in bpf_jit_build_body()
320 PPC_ADD(dst_reg, dst_reg, src_reg); in bpf_jit_build_body()
324 PPC_SUB(dst_reg, dst_reg, src_reg); in bpf_jit_build_body()
344 PPC_MULW(dst_reg, dst_reg, src_reg); in bpf_jit_build_body()
346 PPC_MULD(dst_reg, dst_reg, src_reg); in bpf_jit_build_body()
365 PPC_DIVWU(b2p[TMP_REG_1], dst_reg, src_reg); in bpf_jit_build_body()
366 PPC_MULW(b2p[TMP_REG_1], src_reg, in bpf_jit_build_body()
370 PPC_DIVWU(dst_reg, dst_reg, src_reg); in bpf_jit_build_body()
375 PPC_DIVD(b2p[TMP_REG_1], dst_reg, src_reg); in bpf_jit_build_body()
376 PPC_MULD(b2p[TMP_REG_1], src_reg, in bpf_jit_build_body()
380 PPC_DIVD(dst_reg, dst_reg, src_reg); in bpf_jit_build_body()
431 PPC_AND(dst_reg, dst_reg, src_reg); in bpf_jit_build_body()
445 PPC_OR(dst_reg, dst_reg, src_reg); in bpf_jit_build_body()
462 PPC_XOR(dst_reg, dst_reg, src_reg); in bpf_jit_build_body()
479 PPC_SLW(dst_reg, dst_reg, src_reg); in bpf_jit_build_body()
482 PPC_SLD(dst_reg, dst_reg, src_reg); in bpf_jit_build_body()
493 PPC_SRW(dst_reg, dst_reg, src_reg); in bpf_jit_build_body()
496 PPC_SRD(dst_reg, dst_reg, src_reg); in bpf_jit_build_body()
506 PPC_SRAD(dst_reg, dst_reg, src_reg); in bpf_jit_build_body()
518 PPC_MR(dst_reg, src_reg); in bpf_jit_build_body()
606 src_reg = b2p[TMP_REG_1]; in bpf_jit_build_body()
608 PPC_STB(src_reg, dst_reg, off); in bpf_jit_build_body()
614 src_reg = b2p[TMP_REG_1]; in bpf_jit_build_body()
616 PPC_STH(src_reg, dst_reg, off); in bpf_jit_build_body()
622 src_reg = b2p[TMP_REG_1]; in bpf_jit_build_body()
624 PPC_STW(src_reg, dst_reg, off); in bpf_jit_build_body()
630 src_reg = b2p[TMP_REG_1]; in bpf_jit_build_body()
632 PPC_STD(src_reg, dst_reg, off); in bpf_jit_build_body()
646 PPC_ADD(b2p[TMP_REG_2], b2p[TMP_REG_2], src_reg); in bpf_jit_build_body()
657 PPC_ADD(b2p[TMP_REG_2], b2p[TMP_REG_2], src_reg); in bpf_jit_build_body()
667 PPC_LBZ(dst_reg, src_reg, off); in bpf_jit_build_body()
671 PPC_LHZ(dst_reg, src_reg, off); in bpf_jit_build_body()
675 PPC_LWZ(dst_reg, src_reg, off); in bpf_jit_build_body()
679 PPC_LD(dst_reg, src_reg, off); in bpf_jit_build_body()
715 if (insn[i].src_reg == BPF_PSEUDO_CALL) in bpf_jit_build_body()
788 PPC_CMPLD(dst_reg, src_reg); in bpf_jit_build_body()
795 PPC_CMPD(dst_reg, src_reg); in bpf_jit_build_body()
798 PPC_AND_DOT(b2p[TMP_REG_1], dst_reg, src_reg); in bpf_jit_build_body()