Lines Matching refs:src_reg

306 		u32 src_reg = b2p[insn[i].src_reg];  in bpf_jit_build_body()  local
334 if (src_reg >= BPF_PPC_NVR_MIN && src_reg < 32) in bpf_jit_build_body()
335 bpf_set_seen_register(ctx, insn[i].src_reg); in bpf_jit_build_body()
343 EMIT(PPC_RAW_ADD(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
347 EMIT(PPC_RAW_SUB(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
367 EMIT(PPC_RAW_MULW(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
369 EMIT(PPC_RAW_MULD(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
388 EMIT(PPC_RAW_DIVWU(b2p[TMP_REG_1], dst_reg, src_reg)); in bpf_jit_build_body()
389 EMIT(PPC_RAW_MULW(b2p[TMP_REG_1], src_reg, in bpf_jit_build_body()
393 EMIT(PPC_RAW_DIVWU(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
398 EMIT(PPC_RAW_DIVDU(b2p[TMP_REG_1], dst_reg, src_reg)); in bpf_jit_build_body()
399 EMIT(PPC_RAW_MULD(b2p[TMP_REG_1], src_reg, in bpf_jit_build_body()
403 EMIT(PPC_RAW_DIVDU(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
456 EMIT(PPC_RAW_AND(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
470 EMIT(PPC_RAW_OR(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
487 EMIT(PPC_RAW_XOR(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
504 EMIT(PPC_RAW_SLW(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
510 EMIT(PPC_RAW_SLD(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
523 EMIT(PPC_RAW_SRW(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
528 EMIT(PPC_RAW_SRD(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
540 EMIT(PPC_RAW_SRAW(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
543 EMIT(PPC_RAW_SRAD(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
563 EMIT(PPC_RAW_MR(dst_reg, src_reg)); in bpf_jit_build_body()
656 src_reg = b2p[TMP_REG_1]; in bpf_jit_build_body()
658 EMIT(PPC_RAW_STB(src_reg, dst_reg, off)); in bpf_jit_build_body()
664 src_reg = b2p[TMP_REG_1]; in bpf_jit_build_body()
666 EMIT(PPC_RAW_STH(src_reg, dst_reg, off)); in bpf_jit_build_body()
672 src_reg = b2p[TMP_REG_1]; in bpf_jit_build_body()
674 EMIT(PPC_RAW_STW(src_reg, dst_reg, off)); in bpf_jit_build_body()
680 src_reg = b2p[TMP_REG_1]; in bpf_jit_build_body()
682 PPC_BPF_STL(src_reg, dst_reg, off); in bpf_jit_build_body()
696 EMIT(PPC_RAW_ADD(b2p[TMP_REG_2], b2p[TMP_REG_2], src_reg)); in bpf_jit_build_body()
707 EMIT(PPC_RAW_ADD(b2p[TMP_REG_2], b2p[TMP_REG_2], src_reg)); in bpf_jit_build_body()
717 EMIT(PPC_RAW_LBZ(dst_reg, src_reg, off)); in bpf_jit_build_body()
723 EMIT(PPC_RAW_LHZ(dst_reg, src_reg, off)); in bpf_jit_build_body()
729 EMIT(PPC_RAW_LWZ(dst_reg, src_reg, off)); in bpf_jit_build_body()
735 PPC_BPF_LL(dst_reg, src_reg, off); in bpf_jit_build_body()
865 EMIT(PPC_RAW_CMPLW(dst_reg, src_reg)); in bpf_jit_build_body()
867 EMIT(PPC_RAW_CMPLD(dst_reg, src_reg)); in bpf_jit_build_body()
879 EMIT(PPC_RAW_CMPW(dst_reg, src_reg)); in bpf_jit_build_body()
881 EMIT(PPC_RAW_CMPD(dst_reg, src_reg)); in bpf_jit_build_body()
887 src_reg)); in bpf_jit_build_body()
891 EMIT(PPC_RAW_AND(tmp_reg, dst_reg, src_reg)); in bpf_jit_build_body()
1036 insn[i].src_reg == BPF_PSEUDO_CALL) { in bpf_jit_fixup_subprog_calls()