Lines Matching refs:_R0
135 EMIT(PPC_RAW_MFLR(_R0)); in bpf_jit_build_prologue()
158 EMIT(PPC_RAW_STW(_R0, _R1, BPF_PPC_STACKFRAME(ctx) + PPC_LR_STKOFF)); in bpf_jit_build_prologue()
171 EMIT(PPC_RAW_LWZ(_R0, _R1, BPF_PPC_STACKFRAME(ctx) + PPC_LR_STKOFF)); in bpf_jit_emit_common_epilogue()
177 EMIT(PPC_RAW_MTLR(_R0)); in bpf_jit_emit_common_epilogue()
201 EMIT(PPC_RAW_LIS(_R0, IMM_H(func))); in bpf_jit_emit_func_call_rel()
202 EMIT(PPC_RAW_ORI(_R0, _R0, IMM_L(func))); in bpf_jit_emit_func_call_rel()
203 EMIT(PPC_RAW_MTCTR(_R0)); in bpf_jit_emit_func_call_rel()
225 EMIT(PPC_RAW_LWZ(_R0, b2p_bpf_array, offsetof(struct bpf_array, map.max_entries))); in bpf_jit_emit_tail_call()
226 EMIT(PPC_RAW_CMPLW(b2p_index, _R0)); in bpf_jit_emit_tail_call()
227 EMIT(PPC_RAW_LWZ(_R0, _R1, bpf_jit_stack_offsetof(ctx, BPF_PPC_TC))); in bpf_jit_emit_tail_call()
234 EMIT(PPC_RAW_CMPLWI(_R0, MAX_TAIL_CALL_CNT)); in bpf_jit_emit_tail_call()
236 EMIT(PPC_RAW_ADDIC(_R0, _R0, 1)); in bpf_jit_emit_tail_call()
259 EMIT(PPC_RAW_MR(_R4, _R0)); in bpf_jit_emit_tail_call()
363 PPC_LI32(_R0, imm); in bpf_jit_build_body()
364 EMIT(PPC_RAW_ADDC(dst_reg, dst_reg, _R0)); in bpf_jit_build_body()
373 EMIT(PPC_RAW_MULW(_R0, dst_reg, src_reg_h)); in bpf_jit_build_body()
377 EMIT(PPC_RAW_ADD(dst_reg_h, dst_reg_h, _R0)); in bpf_jit_build_body()
387 PPC_LI32(_R0, imm); in bpf_jit_build_body()
388 EMIT(PPC_RAW_MULW(dst_reg, dst_reg, _R0)); in bpf_jit_build_body()
409 EMIT(PPC_RAW_MULHWU(_R0, dst_reg, tmp_reg)); in bpf_jit_build_body()
411 EMIT(PPC_RAW_ADD(dst_reg_h, dst_reg_h, _R0)); in bpf_jit_build_body()
417 EMIT(PPC_RAW_DIVWU(_R0, dst_reg, src_reg)); in bpf_jit_build_body()
418 EMIT(PPC_RAW_MULW(_R0, src_reg, _R0)); in bpf_jit_build_body()
419 EMIT(PPC_RAW_SUB(dst_reg, dst_reg, _R0)); in bpf_jit_build_body()
431 PPC_LI32(_R0, imm); in bpf_jit_build_body()
432 EMIT(PPC_RAW_DIVWU(dst_reg, dst_reg, _R0)); in bpf_jit_build_body()
441 EMIT(PPC_RAW_DIVWU(_R0, dst_reg, tmp_reg)); in bpf_jit_build_body()
442 EMIT(PPC_RAW_MULW(_R0, tmp_reg, _R0)); in bpf_jit_build_body()
443 EMIT(PPC_RAW_SUB(dst_reg, dst_reg, _R0)); in bpf_jit_build_body()
514 PPC_LI32(_R0, imm); in bpf_jit_build_body()
515 EMIT(PPC_RAW_AND(dst_reg, dst_reg, _R0)); in bpf_jit_build_body()
566 EMIT(PPC_RAW_SUBFIC(_R0, src_reg, 32)); in bpf_jit_build_body()
569 EMIT(PPC_RAW_SRW(_R0, dst_reg, _R0)); in bpf_jit_build_body()
571 EMIT(PPC_RAW_OR(dst_reg_h, dst_reg_h, _R0)); in bpf_jit_build_body()
602 EMIT(PPC_RAW_SUBFIC(_R0, src_reg, 32)); in bpf_jit_build_body()
605 EMIT(PPC_RAW_SLW(_R0, dst_reg_h, _R0)); in bpf_jit_build_body()
607 EMIT(PPC_RAW_OR(dst_reg, dst_reg, _R0)); in bpf_jit_build_body()
638 EMIT(PPC_RAW_SUBFIC(_R0, src_reg, 32)); in bpf_jit_build_body()
640 EMIT(PPC_RAW_SLW(_R0, dst_reg_h, _R0)); in bpf_jit_build_body()
642 EMIT(PPC_RAW_OR(dst_reg, dst_reg, _R0)); in bpf_jit_build_body()
643 EMIT(PPC_RAW_RLWINM(_R0, tmp_reg, 0, 26, 26)); in bpf_jit_build_body()
646 EMIT(PPC_RAW_SLW(tmp_reg, tmp_reg, _R0)); in bpf_jit_build_body()
713 EMIT(PPC_RAW_RLWINM(_R0, dst_reg, 8, 0, 31)); in bpf_jit_build_body()
715 EMIT(PPC_RAW_RLWIMI(_R0, dst_reg, 24, 0, 7)); in bpf_jit_build_body()
717 EMIT(PPC_RAW_RLWIMI(_R0, dst_reg, 24, 16, 23)); in bpf_jit_build_body()
718 EMIT(PPC_RAW_MR(dst_reg, _R0)); in bpf_jit_build_body()
723 EMIT(PPC_RAW_RLWINM(_R0, dst_reg_h, 8, 0, 31)); in bpf_jit_build_body()
726 EMIT(PPC_RAW_RLWIMI(_R0, dst_reg_h, 24, 0, 7)); in bpf_jit_build_body()
729 EMIT(PPC_RAW_RLWIMI(_R0, dst_reg_h, 24, 16, 23)); in bpf_jit_build_body()
730 EMIT(PPC_RAW_MR(dst_reg, _R0)); in bpf_jit_build_body()
761 PPC_LI32(_R0, imm); in bpf_jit_build_body()
762 EMIT(PPC_RAW_STB(_R0, dst_reg, off)); in bpf_jit_build_body()
768 PPC_LI32(_R0, imm); in bpf_jit_build_body()
769 EMIT(PPC_RAW_STH(_R0, dst_reg, off)); in bpf_jit_build_body()
775 PPC_LI32(_R0, imm); in bpf_jit_build_body()
776 EMIT(PPC_RAW_STW(_R0, dst_reg, off)); in bpf_jit_build_body()
783 PPC_LI32(_R0, imm); in bpf_jit_build_body()
784 EMIT(PPC_RAW_STW(_R0, dst_reg, off + 4)); in bpf_jit_build_body()
785 PPC_EX32(_R0, imm); in bpf_jit_build_body()
786 EMIT(PPC_RAW_STW(_R0, dst_reg, off)); in bpf_jit_build_body()
793 save_reg = _R0; in bpf_jit_build_body()
803 EMIT(PPC_RAW_LWARX(_R0, tmp_reg, dst_reg, 0)); in bpf_jit_build_body()
807 EMIT(PPC_RAW_MR(ax_reg, _R0)); in bpf_jit_build_body()
812 EMIT(PPC_RAW_ADD(_R0, _R0, src_reg)); in bpf_jit_build_body()
816 EMIT(PPC_RAW_AND(_R0, _R0, src_reg)); in bpf_jit_build_body()
820 EMIT(PPC_RAW_OR(_R0, _R0, src_reg)); in bpf_jit_build_body()
824 EMIT(PPC_RAW_XOR(_R0, _R0, src_reg)); in bpf_jit_build_body()
834 EMIT(PPC_RAW_CMPW(bpf_to_ppc(BPF_REG_0), _R0)); in bpf_jit_build_body()
881 PPC_LI32(_R0, TASK_SIZE - off); in bpf_jit_build_body()
882 EMIT(PPC_RAW_CMPLW(src_reg, _R0)); in bpf_jit_build_body()
979 ret = bpf_jit_emit_exit_insn(image, ctx, _R0, exit_addr); in bpf_jit_build_body()
1115 EMIT(PPC_RAW_AND_DOT(_R0, dst_reg_h, src_reg_h)); in bpf_jit_build_body()
1117 EMIT(PPC_RAW_AND_DOT(_R0, dst_reg, src_reg)); in bpf_jit_build_body()
1120 EMIT(PPC_RAW_AND_DOT(_R0, dst_reg, src_reg)); in bpf_jit_build_body()
1138 PPC_EX32(_R0, imm); in bpf_jit_build_body()
1139 EMIT(PPC_RAW_CMPLW(dst_reg_h, _R0)); in bpf_jit_build_body()
1140 PPC_LI32(_R0, imm); in bpf_jit_build_body()
1142 EMIT(PPC_RAW_CMPLW(dst_reg, _R0)); in bpf_jit_build_body()
1154 PPC_LI32(_R0, imm); in bpf_jit_build_body()
1155 EMIT(PPC_RAW_CMPLW(dst_reg, _R0)); in bpf_jit_build_body()
1170 PPC_LI32(_R0, imm); in bpf_jit_build_body()
1172 EMIT(PPC_RAW_CMPLW(dst_reg, _R0)); in bpf_jit_build_body()
1187 PPC_LI32(_R0, imm); in bpf_jit_build_body()
1188 EMIT(PPC_RAW_CMPW(dst_reg, _R0)); in bpf_jit_build_body()
1195 EMIT(PPC_RAW_ANDI(_R0, dst_reg, imm)); in bpf_jit_build_body()
1197 PPC_LI32(_R0, imm); in bpf_jit_build_body()
1202 EMIT(PPC_RAW_AND_DOT(_R0, dst_reg, _R0)); in bpf_jit_build_body()
1209 EMIT(PPC_RAW_ANDI(_R0, dst_reg, imm)); in bpf_jit_build_body()
1211 PPC_LI32(_R0, imm); in bpf_jit_build_body()
1212 EMIT(PPC_RAW_AND_DOT(_R0, dst_reg, _R0)); in bpf_jit_build_body()