Lines Matching refs:tmp1_reg
380 u32 tmp1_reg = bpf_to_ppc(TMP_REG_1); in bpf_jit_build_body() local
433 PPC_LI32(tmp1_reg, imm); in bpf_jit_build_body()
434 EMIT(PPC_RAW_ADD(dst_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
444 PPC_LI32(tmp1_reg, imm); in bpf_jit_build_body()
445 EMIT(PPC_RAW_SUB(dst_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
460 PPC_LI32(tmp1_reg, imm); in bpf_jit_build_body()
462 EMIT(PPC_RAW_MULW(dst_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
464 EMIT(PPC_RAW_MULD(dst_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
470 EMIT(PPC_RAW_DIVWU(tmp1_reg, dst_reg, src_reg)); in bpf_jit_build_body()
471 EMIT(PPC_RAW_MULW(tmp1_reg, src_reg, tmp1_reg)); in bpf_jit_build_body()
472 EMIT(PPC_RAW_SUB(dst_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
479 EMIT(PPC_RAW_DIVDU(tmp1_reg, dst_reg, src_reg)); in bpf_jit_build_body()
480 EMIT(PPC_RAW_MULD(tmp1_reg, src_reg, tmp1_reg)); in bpf_jit_build_body()
481 EMIT(PPC_RAW_SUB(dst_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
500 PPC_LI32(tmp1_reg, imm); in bpf_jit_build_body()
504 EMIT(PPC_RAW_DIVWU(tmp2_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
505 EMIT(PPC_RAW_MULW(tmp1_reg, tmp1_reg, tmp2_reg)); in bpf_jit_build_body()
506 EMIT(PPC_RAW_SUB(dst_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
508 EMIT(PPC_RAW_DIVWU(dst_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
512 EMIT(PPC_RAW_DIVDU(tmp2_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
513 EMIT(PPC_RAW_MULD(tmp1_reg, tmp1_reg, tmp2_reg)); in bpf_jit_build_body()
514 EMIT(PPC_RAW_SUB(dst_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
516 EMIT(PPC_RAW_DIVDU(dst_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
538 PPC_LI32(tmp1_reg, imm); in bpf_jit_build_body()
539 EMIT(PPC_RAW_AND(dst_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
550 PPC_LI32(tmp1_reg, imm); in bpf_jit_build_body()
551 EMIT(PPC_RAW_OR(dst_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
567 PPC_LI32(tmp1_reg, imm); in bpf_jit_build_body()
568 EMIT(PPC_RAW_XOR(dst_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
669 EMIT(PPC_RAW_RLWINM(tmp1_reg, dst_reg, 8, 16, 23)); in bpf_jit_build_body()
671 EMIT(PPC_RAW_RLWIMI(tmp1_reg, dst_reg, 24, 24, 31)); in bpf_jit_build_body()
673 EMIT(PPC_RAW_MR(dst_reg, tmp1_reg)); in bpf_jit_build_body()
681 EMIT(PPC_RAW_RLWINM(tmp1_reg, dst_reg, 8, 0, 31)); in bpf_jit_build_body()
683 EMIT(PPC_RAW_RLWIMI(tmp1_reg, dst_reg, 24, 0, 7)); in bpf_jit_build_body()
685 EMIT(PPC_RAW_RLWIMI(tmp1_reg, dst_reg, 24, 16, 23)); in bpf_jit_build_body()
686 EMIT(PPC_RAW_MR(dst_reg, tmp1_reg)); in bpf_jit_build_body()
691 EMIT(PPC_RAW_ADDI(tmp1_reg, _R1, bpf_jit_stack_local(ctx))); in bpf_jit_build_body()
693 EMIT(PPC_RAW_LDBRX(dst_reg, 0, tmp1_reg)); in bpf_jit_build_body()
695 EMIT(PPC_RAW_LWBRX(dst_reg, 0, tmp1_reg)); in bpf_jit_build_body()
699 EMIT(PPC_RAW_LWBRX(tmp2_reg, tmp2_reg, tmp1_reg)); in bpf_jit_build_body()
741 EMIT(PPC_RAW_LD(tmp1_reg, _R13, 0)); in bpf_jit_build_body()
761 EMIT(PPC_RAW_LI(tmp1_reg, imm)); in bpf_jit_build_body()
762 src_reg = tmp1_reg; in bpf_jit_build_body()
769 EMIT(PPC_RAW_LI(tmp1_reg, imm)); in bpf_jit_build_body()
770 src_reg = tmp1_reg; in bpf_jit_build_body()
777 PPC_LI32(tmp1_reg, imm); in bpf_jit_build_body()
778 src_reg = tmp1_reg; in bpf_jit_build_body()
785 PPC_LI32(tmp1_reg, imm); in bpf_jit_build_body()
786 src_reg = tmp1_reg; in bpf_jit_build_body()
805 EMIT(PPC_RAW_LI(tmp1_reg, off)); in bpf_jit_build_body()
818 EMIT(PPC_RAW_LDARX(tmp2_reg, tmp1_reg, dst_reg, 0)); in bpf_jit_build_body()
820 EMIT(PPC_RAW_LWARX(tmp2_reg, tmp1_reg, dst_reg, 0)); in bpf_jit_build_body()
870 EMIT(PPC_RAW_STDCX(save_reg, tmp1_reg, dst_reg)); in bpf_jit_build_body()
872 EMIT(PPC_RAW_STWCX(save_reg, tmp1_reg, dst_reg)); in bpf_jit_build_body()
913 EMIT(PPC_RAW_ADDI(tmp1_reg, src_reg, off)); in bpf_jit_build_body()
918 EMIT(PPC_RAW_CMPLD(tmp1_reg, tmp2_reg)); in bpf_jit_build_body()
943 EMIT(PPC_RAW_LI(tmp1_reg, off)); in bpf_jit_build_body()
944 EMIT(PPC_RAW_LDX(dst_reg, src_reg, tmp1_reg)); in bpf_jit_build_body()
989 ret = bpf_jit_emit_exit_insn(image, ctx, tmp1_reg, exit_addr); in bpf_jit_build_body()
1122 EMIT(PPC_RAW_AND_DOT(tmp1_reg, dst_reg, src_reg)); in bpf_jit_build_body()
1124 EMIT(PPC_RAW_AND(tmp1_reg, dst_reg, src_reg)); in bpf_jit_build_body()
1125 EMIT(PPC_RAW_RLWINM_DOT(tmp1_reg, tmp1_reg, 0, 0, 31)); in bpf_jit_build_body()
1154 PPC_LI32(tmp1_reg, imm); in bpf_jit_build_body()
1157 EMIT(PPC_RAW_CMPLW(dst_reg, tmp1_reg)); in bpf_jit_build_body()
1159 EMIT(PPC_RAW_CMPLD(dst_reg, tmp1_reg)); in bpf_jit_build_body()
1184 PPC_LI32(tmp1_reg, imm); in bpf_jit_build_body()
1186 EMIT(PPC_RAW_CMPW(dst_reg, tmp1_reg)); in bpf_jit_build_body()
1188 EMIT(PPC_RAW_CMPD(dst_reg, tmp1_reg)); in bpf_jit_build_body()
1197 EMIT(PPC_RAW_ANDI(tmp1_reg, dst_reg, imm)); in bpf_jit_build_body()
1199 PPC_LI32(tmp1_reg, imm); in bpf_jit_build_body()
1201 EMIT(PPC_RAW_AND_DOT(tmp1_reg, dst_reg, in bpf_jit_build_body()
1202 tmp1_reg)); in bpf_jit_build_body()
1204 EMIT(PPC_RAW_AND(tmp1_reg, dst_reg, tmp1_reg)); in bpf_jit_build_body()
1205 EMIT(PPC_RAW_RLWINM_DOT(tmp1_reg, tmp1_reg, in bpf_jit_build_body()