Lines Matching refs:tmp2
736 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_alu_r64() local
743 rs = arm_bpf_get_reg64(src, tmp2, ctx); in emit_a32_alu_r64()
751 rs = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in emit_a32_alu_r64()
848 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_lsh_r64() local
853 rt = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in emit_a32_lsh_r64()
858 emit(ARM_RSB_I(tmp2[0], rt, 32), ctx); in emit_a32_lsh_r64()
861 emit(ARM_ORR_SR(ARM_IP, ARM_LR, rd[1], SRTYPE_LSR, tmp2[0]), ctx); in emit_a32_lsh_r64()
872 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_arsh_r64() local
877 rt = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in emit_a32_arsh_r64()
882 emit(ARM_SUBS_I(tmp2[0], rt, 32), ctx); in emit_a32_arsh_r64()
886 ARM_ORR_SR(ARM_LR, ARM_LR, rd[0], SRTYPE_ASR, tmp2[0]), ctx); in emit_a32_arsh_r64()
897 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_rsh_r64() local
902 rt = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in emit_a32_rsh_r64()
907 emit(ARM_SUBS_I(tmp2[0], rt, 32), ctx); in emit_a32_rsh_r64()
910 emit(ARM_ORR_SR(ARM_LR, ARM_LR, rd[0], SRTYPE_LSR, tmp2[0]), ctx); in emit_a32_rsh_r64()
921 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_lsh_i64() local
929 emit(ARM_MOV_SI(tmp2[0], rd[0], SRTYPE_ASL, val), ctx); in emit_a32_lsh_i64()
930 emit(ARM_ORR_SI(rd[0], tmp2[0], rd[1], SRTYPE_LSR, 32 - val), ctx); in emit_a32_lsh_i64()
947 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_rsh_i64() local
959 emit(ARM_MOV_SI(tmp2[1], rd[1], SRTYPE_LSR, val), ctx); in emit_a32_rsh_i64()
960 emit(ARM_ORR_SI(rd[1], tmp2[1], rd[0], SRTYPE_ASL, 32 - val), ctx); in emit_a32_rsh_i64()
977 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_arsh_i64() local
989 emit(ARM_MOV_SI(tmp2[1], rd[1], SRTYPE_LSR, val), ctx); in emit_a32_arsh_i64()
990 emit(ARM_ORR_SI(rd[1], tmp2[1], rd[0], SRTYPE_ASL, 32 - val), ctx); in emit_a32_arsh_i64()
1006 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_mul_r64() local
1011 rt = arm_bpf_get_reg64(src, tmp2, ctx); in emit_a32_mul_r64()
1175 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_bpf_tail_call() local
1191 r_array = arm_bpf_get_reg32(r2[1], tmp2[0], ctx); in emit_bpf_tail_call()
1193 r_index = arm_bpf_get_reg32(r3[1], tmp2[1], ctx); in emit_bpf_tail_call()
1252 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_rev16() local
1254 emit(ARM_AND_I(tmp2[1], rn, 0xff), ctx); in emit_rev16()
1255 emit(ARM_MOV_SI(tmp2[0], rn, SRTYPE_LSR, 8), ctx); in emit_rev16()
1256 emit(ARM_AND_I(tmp2[0], tmp2[0], 0xff), ctx); in emit_rev16()
1257 emit(ARM_ORR_SI(rd, tmp2[0], tmp2[1], SRTYPE_LSL, 8), ctx); in emit_rev16()
1267 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_rev32() local
1269 emit(ARM_AND_I(tmp2[1], rn, 0xff), ctx); in emit_rev32()
1270 emit(ARM_MOV_SI(tmp2[0], rn, SRTYPE_LSR, 24), ctx); in emit_rev32()
1271 emit(ARM_ORR_SI(ARM_IP, tmp2[0], tmp2[1], SRTYPE_LSL, 24), ctx); in emit_rev32()
1273 emit(ARM_MOV_SI(tmp2[1], rn, SRTYPE_LSR, 8), ctx); in emit_rev32()
1274 emit(ARM_AND_I(tmp2[1], tmp2[1], 0xff), ctx); in emit_rev32()
1275 emit(ARM_MOV_SI(tmp2[0], rn, SRTYPE_LSR, 16), ctx); in emit_rev32()
1276 emit(ARM_AND_I(tmp2[0], tmp2[0], 0xff), ctx); in emit_rev32()
1277 emit(ARM_MOV_SI(tmp2[0], tmp2[0], SRTYPE_LSL, 8), ctx); in emit_rev32()
1278 emit(ARM_ORR_SI(tmp2[0], tmp2[0], tmp2[1], SRTYPE_LSL, 16), ctx); in emit_rev32()
1279 emit(ARM_ORR_R(rd, ARM_IP, tmp2[0]), ctx); in emit_rev32()
1289 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_push_r64() local
1293 rt = arm_bpf_get_reg64(src, tmp2, ctx); in emit_push_r64()
1369 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in build_insn() local
1455 emit_a32_mov_se_i64(is64, tmp2, imm, ctx); in build_insn()
1456 emit_a32_alu_r64(is64, dst, tmp2, ctx, BPF_OP(code)); in build_insn()
1466 rd_lo = arm_bpf_get_reg32(dst_lo, tmp2[1], ctx); in build_insn()
1469 rt = arm_bpf_get_reg32(src_lo, tmp2[0], ctx); in build_insn()
1472 rt = tmp2[0]; in build_insn()
1556 emit_a32_mov_se_i64(is64, tmp2, imm, ctx); in build_insn()
1557 emit_a32_mul_r64(dst, tmp2, ctx); in build_insn()
1587 emit_a32_mov_i(tmp2[1], 0xffff, ctx); in build_insn()
1588 emit(ARM_AND_R(rd[1], rd[1], tmp2[1]), ctx); in build_insn()
1621 rn = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in build_insn()
1635 emit_a32_mov_se_i64(true, tmp2, imm, ctx); in build_insn()
1640 emit_a32_mov_i(tmp2[1], imm, ctx); in build_insn()
1643 emit_str_r(dst_lo, tmp2, off, ctx, BPF_SIZE(code)); in build_insn()
1655 rs = arm_bpf_get_reg64(src, tmp2, ctx); in build_insn()
1692 rm = arm_bpf_get_reg32(src_hi, tmp2[0], ctx); in build_insn()
1693 rn = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in build_insn()
1730 rm = tmp2[0]; in build_insn()
1731 rn = tmp2[1]; in build_insn()
1733 emit_a32_mov_se_i64(true, tmp2, imm, ctx); in build_insn()