Lines Matching refs:dst_reg

283 		u32 dst_reg = b2p[insn[i].dst_reg];  in bpf_jit_build_body()  local
309 if (dst_reg >= BPF_PPC_NVR_MIN && dst_reg < 32) in bpf_jit_build_body()
310 bpf_set_seen_register(ctx, insn[i].dst_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()
334 PPC_ADDI(dst_reg, dst_reg, IMM_L(imm)); in bpf_jit_build_body()
337 PPC_ADD(dst_reg, dst_reg, b2p[TMP_REG_1]); 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()
351 PPC_MULI(dst_reg, dst_reg, IMM_L(imm)); in bpf_jit_build_body()
355 PPC_MULW(dst_reg, dst_reg, in bpf_jit_build_body()
358 PPC_MULD(dst_reg, dst_reg, in bpf_jit_build_body()
365 PPC_DIVWU(b2p[TMP_REG_1], dst_reg, src_reg); in bpf_jit_build_body()
368 PPC_SUB(dst_reg, dst_reg, b2p[TMP_REG_1]); 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()
378 PPC_SUB(dst_reg, dst_reg, b2p[TMP_REG_1]); in bpf_jit_build_body()
380 PPC_DIVD(dst_reg, dst_reg, src_reg); in bpf_jit_build_body()
395 PPC_DIVWU(b2p[TMP_REG_2], dst_reg, in bpf_jit_build_body()
400 PPC_SUB(dst_reg, dst_reg, in bpf_jit_build_body()
403 PPC_DIVWU(dst_reg, dst_reg, in bpf_jit_build_body()
408 PPC_DIVD(b2p[TMP_REG_2], dst_reg, in bpf_jit_build_body()
413 PPC_SUB(dst_reg, dst_reg, in bpf_jit_build_body()
416 PPC_DIVD(dst_reg, dst_reg, in bpf_jit_build_body()
423 PPC_NEG(dst_reg, dst_reg); in bpf_jit_build_body()
431 PPC_AND(dst_reg, dst_reg, src_reg); in bpf_jit_build_body()
436 PPC_ANDI(dst_reg, dst_reg, IMM_L(imm)); in bpf_jit_build_body()
440 PPC_AND(dst_reg, dst_reg, b2p[TMP_REG_1]); in bpf_jit_build_body()
445 PPC_OR(dst_reg, dst_reg, src_reg); in bpf_jit_build_body()
452 PPC_OR(dst_reg, dst_reg, b2p[TMP_REG_1]); in bpf_jit_build_body()
455 PPC_ORI(dst_reg, dst_reg, IMM_L(imm)); in bpf_jit_build_body()
457 PPC_ORIS(dst_reg, dst_reg, IMM_H(imm)); in bpf_jit_build_body()
462 PPC_XOR(dst_reg, dst_reg, src_reg); in bpf_jit_build_body()
469 PPC_XOR(dst_reg, dst_reg, b2p[TMP_REG_1]); in bpf_jit_build_body()
472 PPC_XORI(dst_reg, dst_reg, IMM_L(imm)); in bpf_jit_build_body()
474 PPC_XORIS(dst_reg, dst_reg, IMM_H(imm)); 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()
486 PPC_SLWI(dst_reg, dst_reg, imm); in bpf_jit_build_body()
490 PPC_SLDI(dst_reg, dst_reg, imm); 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()
499 PPC_SRWI(dst_reg, dst_reg, imm); in bpf_jit_build_body()
503 PPC_SRDI(dst_reg, dst_reg, imm); in bpf_jit_build_body()
506 PPC_SRAD(dst_reg, dst_reg, src_reg); in bpf_jit_build_body()
510 PPC_SRADI(dst_reg, dst_reg, imm); in bpf_jit_build_body()
518 PPC_MR(dst_reg, src_reg); in bpf_jit_build_body()
522 PPC_LI32(dst_reg, imm); in bpf_jit_build_body()
530 PPC_RLWINM(dst_reg, dst_reg, 0, 0, 31); in bpf_jit_build_body()
548 PPC_RLWINM(b2p[TMP_REG_1], dst_reg, 8, 16, 23); in bpf_jit_build_body()
550 PPC_RLWIMI(b2p[TMP_REG_1], dst_reg, 24, 24, 31); in bpf_jit_build_body()
552 PPC_MR(dst_reg, b2p[TMP_REG_1]); in bpf_jit_build_body()
560 PPC_RLWINM(b2p[TMP_REG_1], dst_reg, 8, 0, 31); in bpf_jit_build_body()
562 PPC_RLWIMI(b2p[TMP_REG_1], dst_reg, 24, 0, 7); in bpf_jit_build_body()
564 PPC_RLWIMI(b2p[TMP_REG_1], dst_reg, 24, 16, 23); in bpf_jit_build_body()
565 PPC_MR(dst_reg, b2p[TMP_REG_1]); in bpf_jit_build_body()
576 PPC_STD(dst_reg, 1, bpf_jit_stack_local(ctx)); in bpf_jit_build_body()
578 PPC_LDBRX(dst_reg, 0, b2p[TMP_REG_1]); in bpf_jit_build_body()
587 PPC_RLDICL(dst_reg, dst_reg, 0, 48); in bpf_jit_build_body()
591 PPC_RLDICL(dst_reg, dst_reg, 0, 32); in bpf_jit_build_body()
608 PPC_STB(src_reg, dst_reg, off); in bpf_jit_build_body()
616 PPC_STH(src_reg, dst_reg, off); in bpf_jit_build_body()
624 PPC_STW(src_reg, dst_reg, off); in bpf_jit_build_body()
632 PPC_STD(src_reg, dst_reg, off); in bpf_jit_build_body()
641 PPC_ADDI(b2p[TMP_REG_1], dst_reg, off); in bpf_jit_build_body()
654 PPC_ADDI(b2p[TMP_REG_1], dst_reg, off); 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()
691 PPC_LI64(dst_reg, imm64); 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()
811 PPC_CMPLDI(dst_reg, imm); in bpf_jit_build_body()
816 PPC_CMPLD(dst_reg, b2p[TMP_REG_1]); in bpf_jit_build_body()
828 PPC_CMPDI(dst_reg, imm); in bpf_jit_build_body()
831 PPC_CMPD(dst_reg, b2p[TMP_REG_1]); in bpf_jit_build_body()
838 PPC_ANDI(b2p[TMP_REG_1], dst_reg, imm); in bpf_jit_build_body()
841 PPC_AND_DOT(b2p[TMP_REG_1], dst_reg, in bpf_jit_build_body()