Lines Matching refs:_R0
153 EMIT(PPC_RAW_MFLR(_R0)); in bpf_jit_build_prologue()
170 EMIT(PPC_RAW_STW(_R0, _R1, BPF_PPC_STACKFRAME(ctx) + PPC_LR_STKOFF)); in bpf_jit_build_prologue()
183 EMIT(PPC_RAW_LWZ(_R0, _R1, BPF_PPC_STACKFRAME(ctx) + PPC_LR_STKOFF)); in bpf_jit_emit_common_epilogue()
190 EMIT(PPC_RAW_MTLR(_R0)); in bpf_jit_emit_common_epilogue()
211 EMIT(PPC_RAW_LIS(_R0, IMM_H(func))); in bpf_jit_emit_func_call_rel()
212 EMIT(PPC_RAW_ORI(_R0, _R0, IMM_L(func))); in bpf_jit_emit_func_call_rel()
213 EMIT(PPC_RAW_MTCTR(_R0)); in bpf_jit_emit_func_call_rel()
235 EMIT(PPC_RAW_LWZ(_R0, b2p_bpf_array, offsetof(struct bpf_array, map.max_entries))); in bpf_jit_emit_tail_call()
236 EMIT(PPC_RAW_CMPLW(b2p_index, _R0)); in bpf_jit_emit_tail_call()
237 EMIT(PPC_RAW_LWZ(_R0, _R1, bpf_jit_stack_offsetof(ctx, BPF_PPC_TC))); in bpf_jit_emit_tail_call()
244 EMIT(PPC_RAW_CMPLWI(_R0, MAX_TAIL_CALL_CNT)); in bpf_jit_emit_tail_call()
246 EMIT(PPC_RAW_ADDIC(_R0, _R0, 1)); in bpf_jit_emit_tail_call()
269 EMIT(PPC_RAW_MR(_R4, _R0)); in bpf_jit_emit_tail_call()
391 PPC_LI32(_R0, imm); in bpf_jit_build_body()
392 EMIT(PPC_RAW_ADDC(dst_reg, src2_reg, _R0)); in bpf_jit_build_body()
401 EMIT(PPC_RAW_MULW(_R0, src2_reg, src_reg_h)); in bpf_jit_build_body()
405 EMIT(PPC_RAW_ADD(dst_reg_h, dst_reg_h, _R0)); in bpf_jit_build_body()
421 PPC_LI32(_R0, imm); in bpf_jit_build_body()
422 EMIT(PPC_RAW_MULW(dst_reg, src2_reg, _R0)); in bpf_jit_build_body()
446 EMIT(PPC_RAW_MULHWU(_R0, src2_reg, tmp_reg)); in bpf_jit_build_body()
448 EMIT(PPC_RAW_ADD(dst_reg_h, dst_reg_h, _R0)); in bpf_jit_build_body()
455 EMIT(PPC_RAW_DIVWU(_R0, src2_reg, src_reg)); in bpf_jit_build_body()
456 EMIT(PPC_RAW_MULW(_R0, src_reg, _R0)); in bpf_jit_build_body()
457 EMIT(PPC_RAW_SUB(dst_reg, src2_reg, _R0)); in bpf_jit_build_body()
471 PPC_LI32(_R0, imm); in bpf_jit_build_body()
472 EMIT(PPC_RAW_DIVWU(dst_reg, src2_reg, _R0)); in bpf_jit_build_body()
482 EMIT(PPC_RAW_DIVWU(_R0, src2_reg, tmp_reg)); in bpf_jit_build_body()
483 EMIT(PPC_RAW_MULW(_R0, tmp_reg, _R0)); in bpf_jit_build_body()
484 EMIT(PPC_RAW_SUB(dst_reg, src2_reg, _R0)); in bpf_jit_build_body()
558 PPC_LI32(_R0, imm); in bpf_jit_build_body()
559 EMIT(PPC_RAW_AND(dst_reg, src2_reg, _R0)); in bpf_jit_build_body()
614 EMIT(PPC_RAW_SUBFIC(_R0, src_reg, 32)); in bpf_jit_build_body()
617 EMIT(PPC_RAW_SRW(_R0, src2_reg, _R0)); in bpf_jit_build_body()
619 EMIT(PPC_RAW_OR(dst_reg_h, dst_reg_h, _R0)); in bpf_jit_build_body()
651 EMIT(PPC_RAW_SUBFIC(_R0, src_reg, 32)); in bpf_jit_build_body()
654 EMIT(PPC_RAW_SLW(_R0, src2_reg_h, _R0)); in bpf_jit_build_body()
656 EMIT(PPC_RAW_OR(dst_reg, dst_reg, _R0)); in bpf_jit_build_body()
689 EMIT(PPC_RAW_SUBFIC(_R0, src_reg, 32)); in bpf_jit_build_body()
691 EMIT(PPC_RAW_SLW(_R0, src2_reg_h, _R0)); in bpf_jit_build_body()
693 EMIT(PPC_RAW_OR(dst_reg, dst_reg, _R0)); in bpf_jit_build_body()
694 EMIT(PPC_RAW_RLWINM(_R0, tmp_reg, 0, 26, 26)); in bpf_jit_build_body()
697 EMIT(PPC_RAW_SLW(tmp_reg, tmp_reg, _R0)); in bpf_jit_build_body()
766 EMIT(PPC_RAW_RLWINM(_R0, src2_reg, 8, 0, 31)); in bpf_jit_build_body()
768 EMIT(PPC_RAW_RLWIMI(_R0, src2_reg, 24, 0, 7)); in bpf_jit_build_body()
770 EMIT(PPC_RAW_RLWIMI(_R0, src2_reg, 24, 16, 23)); in bpf_jit_build_body()
771 EMIT(PPC_RAW_MR(dst_reg, _R0)); in bpf_jit_build_body()
776 EMIT(PPC_RAW_RLWINM(_R0, src2_reg_h, 8, 0, 31)); in bpf_jit_build_body()
779 EMIT(PPC_RAW_RLWIMI(_R0, src2_reg_h, 24, 0, 7)); in bpf_jit_build_body()
782 EMIT(PPC_RAW_RLWIMI(_R0, src2_reg_h, 24, 16, 23)); in bpf_jit_build_body()
783 EMIT(PPC_RAW_MR(dst_reg, _R0)); in bpf_jit_build_body()
814 PPC_LI32(_R0, imm); in bpf_jit_build_body()
815 EMIT(PPC_RAW_STB(_R0, dst_reg, off)); in bpf_jit_build_body()
821 PPC_LI32(_R0, imm); in bpf_jit_build_body()
822 EMIT(PPC_RAW_STH(_R0, dst_reg, off)); in bpf_jit_build_body()
828 PPC_LI32(_R0, imm); in bpf_jit_build_body()
829 EMIT(PPC_RAW_STW(_R0, dst_reg, off)); in bpf_jit_build_body()
836 PPC_LI32(_R0, imm); in bpf_jit_build_body()
837 EMIT(PPC_RAW_STW(_R0, dst_reg, off + 4)); in bpf_jit_build_body()
838 PPC_EX32(_R0, imm); in bpf_jit_build_body()
839 EMIT(PPC_RAW_STW(_R0, dst_reg, off)); in bpf_jit_build_body()
846 save_reg = _R0; in bpf_jit_build_body()
856 EMIT(PPC_RAW_LWARX(_R0, tmp_reg, dst_reg, 0)); in bpf_jit_build_body()
860 EMIT(PPC_RAW_MR(ax_reg, _R0)); in bpf_jit_build_body()
865 EMIT(PPC_RAW_ADD(_R0, _R0, src_reg)); in bpf_jit_build_body()
869 EMIT(PPC_RAW_AND(_R0, _R0, src_reg)); in bpf_jit_build_body()
873 EMIT(PPC_RAW_OR(_R0, _R0, src_reg)); in bpf_jit_build_body()
877 EMIT(PPC_RAW_XOR(_R0, _R0, src_reg)); in bpf_jit_build_body()
887 EMIT(PPC_RAW_CMPW(bpf_to_ppc(BPF_REG_0), _R0)); in bpf_jit_build_body()
934 PPC_LI32(_R0, TASK_SIZE - off); in bpf_jit_build_body()
935 EMIT(PPC_RAW_CMPLW(src_reg, _R0)); in bpf_jit_build_body()
1033 ret = bpf_jit_emit_exit_insn(image, ctx, _R0, exit_addr); in bpf_jit_build_body()
1169 EMIT(PPC_RAW_AND_DOT(_R0, dst_reg_h, src_reg_h)); in bpf_jit_build_body()
1171 EMIT(PPC_RAW_AND_DOT(_R0, dst_reg, src_reg)); in bpf_jit_build_body()
1174 EMIT(PPC_RAW_AND_DOT(_R0, dst_reg, src_reg)); in bpf_jit_build_body()
1192 PPC_EX32(_R0, imm); in bpf_jit_build_body()
1193 EMIT(PPC_RAW_CMPLW(dst_reg_h, _R0)); in bpf_jit_build_body()
1194 PPC_LI32(_R0, imm); in bpf_jit_build_body()
1196 EMIT(PPC_RAW_CMPLW(dst_reg, _R0)); in bpf_jit_build_body()
1208 PPC_LI32(_R0, imm); in bpf_jit_build_body()
1209 EMIT(PPC_RAW_CMPLW(dst_reg, _R0)); in bpf_jit_build_body()
1224 PPC_LI32(_R0, imm); in bpf_jit_build_body()
1226 EMIT(PPC_RAW_CMPLW(dst_reg, _R0)); in bpf_jit_build_body()
1241 PPC_LI32(_R0, imm); in bpf_jit_build_body()
1242 EMIT(PPC_RAW_CMPW(dst_reg, _R0)); in bpf_jit_build_body()
1249 EMIT(PPC_RAW_ANDI(_R0, dst_reg, imm)); in bpf_jit_build_body()
1251 PPC_LI32(_R0, imm); in bpf_jit_build_body()
1256 EMIT(PPC_RAW_AND_DOT(_R0, dst_reg, _R0)); in bpf_jit_build_body()
1263 EMIT(PPC_RAW_ANDI(_R0, dst_reg, imm)); in bpf_jit_build_body()
1265 PPC_LI32(_R0, imm); in bpf_jit_build_body()
1266 EMIT(PPC_RAW_AND_DOT(_R0, dst_reg, _R0)); in bpf_jit_build_body()