Lines Matching refs:tmp1_reg
405 u32 tmp1_reg = bpf_to_ppc(TMP_REG_1); in bpf_jit_build_body() local
458 PPC_LI32(tmp1_reg, imm); in bpf_jit_build_body()
459 EMIT(PPC_RAW_ADD(dst_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
469 PPC_LI32(tmp1_reg, imm); in bpf_jit_build_body()
470 EMIT(PPC_RAW_SUB(dst_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
485 PPC_LI32(tmp1_reg, imm); in bpf_jit_build_body()
487 EMIT(PPC_RAW_MULW(dst_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
489 EMIT(PPC_RAW_MULD(dst_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
496 EMIT(PPC_RAW_DIVW(tmp1_reg, dst_reg, src_reg)); in bpf_jit_build_body()
498 EMIT(PPC_RAW_DIVWU(tmp1_reg, dst_reg, src_reg)); in bpf_jit_build_body()
500 EMIT(PPC_RAW_MULW(tmp1_reg, src_reg, tmp1_reg)); in bpf_jit_build_body()
501 EMIT(PPC_RAW_SUB(dst_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
512 EMIT(PPC_RAW_DIVD(tmp1_reg, dst_reg, src_reg)); in bpf_jit_build_body()
514 EMIT(PPC_RAW_DIVDU(tmp1_reg, dst_reg, src_reg)); in bpf_jit_build_body()
515 EMIT(PPC_RAW_MULD(tmp1_reg, src_reg, tmp1_reg)); in bpf_jit_build_body()
516 EMIT(PPC_RAW_SUB(dst_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
538 PPC_LI32(tmp1_reg, imm); in bpf_jit_build_body()
543 EMIT(PPC_RAW_DIVW(tmp2_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
545 EMIT(PPC_RAW_DIVWU(tmp2_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
546 EMIT(PPC_RAW_MULW(tmp1_reg, tmp1_reg, tmp2_reg)); in bpf_jit_build_body()
547 EMIT(PPC_RAW_SUB(dst_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
550 EMIT(PPC_RAW_DIVW(dst_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
552 EMIT(PPC_RAW_DIVWU(dst_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
557 EMIT(PPC_RAW_DIVD(tmp2_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
559 EMIT(PPC_RAW_DIVDU(tmp2_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
560 EMIT(PPC_RAW_MULD(tmp1_reg, tmp1_reg, tmp2_reg)); in bpf_jit_build_body()
561 EMIT(PPC_RAW_SUB(dst_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
564 EMIT(PPC_RAW_DIVD(dst_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
566 EMIT(PPC_RAW_DIVDU(dst_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
588 PPC_LI32(tmp1_reg, imm); in bpf_jit_build_body()
589 EMIT(PPC_RAW_AND(dst_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
600 PPC_LI32(tmp1_reg, imm); in bpf_jit_build_body()
601 EMIT(PPC_RAW_OR(dst_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
617 PPC_LI32(tmp1_reg, imm); in bpf_jit_build_body()
618 EMIT(PPC_RAW_XOR(dst_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
726 EMIT(PPC_RAW_RLWINM(tmp1_reg, dst_reg, 8, 16, 23)); in bpf_jit_build_body()
728 EMIT(PPC_RAW_RLWIMI(tmp1_reg, dst_reg, 24, 24, 31)); in bpf_jit_build_body()
730 EMIT(PPC_RAW_MR(dst_reg, tmp1_reg)); in bpf_jit_build_body()
738 EMIT(PPC_RAW_RLWINM(tmp1_reg, dst_reg, 8, 0, 31)); in bpf_jit_build_body()
740 EMIT(PPC_RAW_RLWIMI(tmp1_reg, dst_reg, 24, 0, 7)); in bpf_jit_build_body()
742 EMIT(PPC_RAW_RLWIMI(tmp1_reg, dst_reg, 24, 16, 23)); in bpf_jit_build_body()
743 EMIT(PPC_RAW_MR(dst_reg, tmp1_reg)); in bpf_jit_build_body()
748 EMIT(PPC_RAW_ADDI(tmp1_reg, _R1, bpf_jit_stack_local(ctx))); in bpf_jit_build_body()
750 EMIT(PPC_RAW_LDBRX(dst_reg, 0, tmp1_reg)); in bpf_jit_build_body()
752 EMIT(PPC_RAW_LWBRX(dst_reg, 0, tmp1_reg)); in bpf_jit_build_body()
756 EMIT(PPC_RAW_LWBRX(tmp2_reg, tmp2_reg, tmp1_reg)); in bpf_jit_build_body()
798 EMIT(PPC_RAW_LD(tmp1_reg, _R13, 0)); in bpf_jit_build_body()
818 EMIT(PPC_RAW_LI(tmp1_reg, imm)); in bpf_jit_build_body()
819 src_reg = tmp1_reg; in bpf_jit_build_body()
826 EMIT(PPC_RAW_LI(tmp1_reg, imm)); in bpf_jit_build_body()
827 src_reg = tmp1_reg; in bpf_jit_build_body()
834 PPC_LI32(tmp1_reg, imm); in bpf_jit_build_body()
835 src_reg = tmp1_reg; in bpf_jit_build_body()
842 PPC_LI32(tmp1_reg, imm); in bpf_jit_build_body()
843 src_reg = tmp1_reg; in bpf_jit_build_body()
862 EMIT(PPC_RAW_LI(tmp1_reg, off)); in bpf_jit_build_body()
875 EMIT(PPC_RAW_LDARX(tmp2_reg, tmp1_reg, dst_reg, 0)); in bpf_jit_build_body()
877 EMIT(PPC_RAW_LWARX(tmp2_reg, tmp1_reg, dst_reg, 0)); in bpf_jit_build_body()
927 EMIT(PPC_RAW_STDCX(save_reg, tmp1_reg, dst_reg)); in bpf_jit_build_body()
929 EMIT(PPC_RAW_STWCX(save_reg, tmp1_reg, dst_reg)); in bpf_jit_build_body()
976 EMIT(PPC_RAW_ADDI(tmp1_reg, src_reg, off)); in bpf_jit_build_body()
981 EMIT(PPC_RAW_CMPLD(tmp1_reg, tmp2_reg)); in bpf_jit_build_body()
1022 EMIT(PPC_RAW_LI(tmp1_reg, off)); in bpf_jit_build_body()
1023 EMIT(PPC_RAW_LDX(dst_reg, src_reg, tmp1_reg)); in bpf_jit_build_body()
1069 ret = bpf_jit_emit_exit_insn(image, ctx, tmp1_reg, exit_addr); in bpf_jit_build_body()
1201 EMIT(PPC_RAW_AND_DOT(tmp1_reg, dst_reg, src_reg)); in bpf_jit_build_body()
1203 EMIT(PPC_RAW_AND(tmp1_reg, dst_reg, src_reg)); in bpf_jit_build_body()
1204 EMIT(PPC_RAW_RLWINM_DOT(tmp1_reg, tmp1_reg, 0, 0, 31)); in bpf_jit_build_body()
1233 PPC_LI32(tmp1_reg, imm); in bpf_jit_build_body()
1236 EMIT(PPC_RAW_CMPLW(dst_reg, tmp1_reg)); in bpf_jit_build_body()
1238 EMIT(PPC_RAW_CMPLD(dst_reg, tmp1_reg)); in bpf_jit_build_body()
1263 PPC_LI32(tmp1_reg, imm); in bpf_jit_build_body()
1265 EMIT(PPC_RAW_CMPW(dst_reg, tmp1_reg)); in bpf_jit_build_body()
1267 EMIT(PPC_RAW_CMPD(dst_reg, tmp1_reg)); in bpf_jit_build_body()
1276 EMIT(PPC_RAW_ANDI(tmp1_reg, dst_reg, imm)); in bpf_jit_build_body()
1278 PPC_LI32(tmp1_reg, imm); in bpf_jit_build_body()
1280 EMIT(PPC_RAW_AND_DOT(tmp1_reg, dst_reg, in bpf_jit_build_body()
1281 tmp1_reg)); in bpf_jit_build_body()
1283 EMIT(PPC_RAW_AND(tmp1_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
1284 EMIT(PPC_RAW_RLWINM_DOT(tmp1_reg, tmp1_reg, in bpf_jit_build_body()