Lines Matching refs:TMP_REG_1

98 		EMIT(PPC_RAW_LI(b2p[TMP_REG_1], 0));  in bpf_jit_build_prologue()
100 PPC_BPF_STL(b2p[TMP_REG_1], 1, -(BPF_PPC_STACK_SAVE + 8)); in bpf_jit_build_prologue()
172 PPC_BPF_LL(b2p[TMP_REG_1], b2p[TMP_REG_2], 0); in bpf_jit_emit_func_call_hlp()
174 EMIT(PPC_RAW_MTLR(b2p[TMP_REG_1])); in bpf_jit_emit_func_call_hlp()
242 EMIT(PPC_RAW_LWZ(b2p[TMP_REG_1], b2p_bpf_array, offsetof(struct bpf_array, map.max_entries))); in bpf_jit_emit_tail_call()
244 EMIT(PPC_RAW_CMPLW(b2p_index, b2p[TMP_REG_1])); in bpf_jit_emit_tail_call()
251 PPC_BPF_LL(b2p[TMP_REG_1], 1, bpf_jit_stack_tailcallcnt(ctx)); in bpf_jit_emit_tail_call()
252 EMIT(PPC_RAW_CMPLWI(b2p[TMP_REG_1], MAX_TAIL_CALL_CNT)); in bpf_jit_emit_tail_call()
258 EMIT(PPC_RAW_ADDI(b2p[TMP_REG_1], b2p[TMP_REG_1], 1)); in bpf_jit_emit_tail_call()
259 PPC_BPF_STL(b2p[TMP_REG_1], 1, bpf_jit_stack_tailcallcnt(ctx)); in bpf_jit_emit_tail_call()
262 EMIT(PPC_RAW_MULI(b2p[TMP_REG_1], b2p_index, 8)); in bpf_jit_emit_tail_call()
263 EMIT(PPC_RAW_ADD(b2p[TMP_REG_1], b2p[TMP_REG_1], b2p_bpf_array)); in bpf_jit_emit_tail_call()
264 PPC_BPF_LL(b2p[TMP_REG_1], b2p[TMP_REG_1], offsetof(struct bpf_array, ptrs)); in bpf_jit_emit_tail_call()
270 EMIT(PPC_RAW_CMPLDI(b2p[TMP_REG_1], 0)); in bpf_jit_emit_tail_call()
274 PPC_BPF_LL(b2p[TMP_REG_1], b2p[TMP_REG_1], offsetof(struct bpf_prog, bpf_func)); in bpf_jit_emit_tail_call()
277 EMIT(PPC_RAW_ADDI(b2p[TMP_REG_1], b2p[TMP_REG_1], in bpf_jit_emit_tail_call()
280 EMIT(PPC_RAW_ADDI(b2p[TMP_REG_1], b2p[TMP_REG_1], BPF_TAILCALL_PROLOGUE_SIZE)); in bpf_jit_emit_tail_call()
282 EMIT(PPC_RAW_MTCTR(b2p[TMP_REG_1])); in bpf_jit_emit_tail_call()
359 PPC_LI32(b2p[TMP_REG_1], imm); in bpf_jit_build_body()
360 EMIT(PPC_RAW_ADD(dst_reg, dst_reg, b2p[TMP_REG_1])); in bpf_jit_build_body()
376 PPC_LI32(b2p[TMP_REG_1], imm); in bpf_jit_build_body()
379 b2p[TMP_REG_1])); in bpf_jit_build_body()
382 b2p[TMP_REG_1])); 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()
390 b2p[TMP_REG_1])); in bpf_jit_build_body()
391 EMIT(PPC_RAW_SUB(dst_reg, dst_reg, b2p[TMP_REG_1])); 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()
400 b2p[TMP_REG_1])); in bpf_jit_build_body()
401 EMIT(PPC_RAW_SUB(dst_reg, dst_reg, b2p[TMP_REG_1])); in bpf_jit_build_body()
414 PPC_LI32(b2p[TMP_REG_1], imm); in bpf_jit_build_body()
420 b2p[TMP_REG_1])); in bpf_jit_build_body()
421 EMIT(PPC_RAW_MULW(b2p[TMP_REG_1], in bpf_jit_build_body()
422 b2p[TMP_REG_1], in bpf_jit_build_body()
425 b2p[TMP_REG_1])); in bpf_jit_build_body()
428 b2p[TMP_REG_1])); in bpf_jit_build_body()
434 b2p[TMP_REG_1])); in bpf_jit_build_body()
435 EMIT(PPC_RAW_MULD(b2p[TMP_REG_1], in bpf_jit_build_body()
436 b2p[TMP_REG_1], in bpf_jit_build_body()
439 b2p[TMP_REG_1])); in bpf_jit_build_body()
442 b2p[TMP_REG_1])); in bpf_jit_build_body()
464 PPC_LI32(b2p[TMP_REG_1], imm); in bpf_jit_build_body()
465 EMIT(PPC_RAW_AND(dst_reg, dst_reg, b2p[TMP_REG_1])); in bpf_jit_build_body()
476 PPC_LI32(b2p[TMP_REG_1], imm); in bpf_jit_build_body()
477 EMIT(PPC_RAW_OR(dst_reg, dst_reg, b2p[TMP_REG_1])); in bpf_jit_build_body()
493 PPC_LI32(b2p[TMP_REG_1], imm); in bpf_jit_build_body()
494 EMIT(PPC_RAW_XOR(dst_reg, dst_reg, b2p[TMP_REG_1])); in bpf_jit_build_body()
595 EMIT(PPC_RAW_RLWINM(b2p[TMP_REG_1], dst_reg, 8, 16, 23)); in bpf_jit_build_body()
597 EMIT(PPC_RAW_RLWIMI(b2p[TMP_REG_1], dst_reg, 24, 24, 31)); in bpf_jit_build_body()
599 EMIT(PPC_RAW_MR(dst_reg, b2p[TMP_REG_1])); in bpf_jit_build_body()
607 EMIT(PPC_RAW_RLWINM(b2p[TMP_REG_1], dst_reg, 8, 0, 31)); in bpf_jit_build_body()
609 EMIT(PPC_RAW_RLWIMI(b2p[TMP_REG_1], dst_reg, 24, 0, 7)); in bpf_jit_build_body()
611 EMIT(PPC_RAW_RLWIMI(b2p[TMP_REG_1], dst_reg, 24, 16, 23)); in bpf_jit_build_body()
612 EMIT(PPC_RAW_MR(dst_reg, b2p[TMP_REG_1])); in bpf_jit_build_body()
624 EMIT(PPC_RAW_ADDI(b2p[TMP_REG_1], 1, bpf_jit_stack_local(ctx))); in bpf_jit_build_body()
625 EMIT(PPC_RAW_LDBRX(dst_reg, 0, b2p[TMP_REG_1])); in bpf_jit_build_body()
655 EMIT(PPC_RAW_LI(b2p[TMP_REG_1], imm)); in bpf_jit_build_body()
656 src_reg = b2p[TMP_REG_1]; in bpf_jit_build_body()
663 EMIT(PPC_RAW_LI(b2p[TMP_REG_1], imm)); in bpf_jit_build_body()
664 src_reg = b2p[TMP_REG_1]; in bpf_jit_build_body()
671 PPC_LI32(b2p[TMP_REG_1], imm); in bpf_jit_build_body()
672 src_reg = b2p[TMP_REG_1]; in bpf_jit_build_body()
679 PPC_LI32(b2p[TMP_REG_1], imm); in bpf_jit_build_body()
680 src_reg = b2p[TMP_REG_1]; in bpf_jit_build_body()
691 EMIT(PPC_RAW_ADDI(b2p[TMP_REG_1], dst_reg, off)); in bpf_jit_build_body()
694 EMIT(PPC_RAW_LWARX(b2p[TMP_REG_2], 0, b2p[TMP_REG_1], 0)); in bpf_jit_build_body()
698 EMIT(PPC_RAW_STWCX(b2p[TMP_REG_2], 0, b2p[TMP_REG_1])); in bpf_jit_build_body()
704 EMIT(PPC_RAW_ADDI(b2p[TMP_REG_1], dst_reg, off)); in bpf_jit_build_body()
706 EMIT(PPC_RAW_LDARX(b2p[TMP_REG_2], 0, b2p[TMP_REG_1], 0)); in bpf_jit_build_body()
708 EMIT(PPC_RAW_STDCX(b2p[TMP_REG_2], 0, b2p[TMP_REG_1])); in bpf_jit_build_body()
886 EMIT(PPC_RAW_AND_DOT(b2p[TMP_REG_1], dst_reg, in bpf_jit_build_body()
889 int tmp_reg = b2p[TMP_REG_1]; in bpf_jit_build_body()
922 PPC_LI32(b2p[TMP_REG_1], imm); in bpf_jit_build_body()
926 b2p[TMP_REG_1])); in bpf_jit_build_body()
929 b2p[TMP_REG_1])); in bpf_jit_build_body()
954 PPC_LI32(b2p[TMP_REG_1], imm); in bpf_jit_build_body()
957 b2p[TMP_REG_1])); in bpf_jit_build_body()
960 b2p[TMP_REG_1])); in bpf_jit_build_body()
969 EMIT(PPC_RAW_ANDI(b2p[TMP_REG_1], dst_reg, imm)); in bpf_jit_build_body()
971 int tmp_reg = b2p[TMP_REG_1]; in bpf_jit_build_body()