Lines Matching refs:tmp2

720 	const s8 *tmp2 = bpf2a32[TMP_REG_2];  in emit_a32_alu_r64()  local
727 rs = arm_bpf_get_reg64(src, tmp2, ctx); in emit_a32_alu_r64()
735 rs = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in emit_a32_alu_r64()
832 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_lsh_r64() local
837 rt = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in emit_a32_lsh_r64()
842 emit(ARM_RSB_I(tmp2[0], rt, 32), ctx); in emit_a32_lsh_r64()
845 emit(ARM_ORR_SR(ARM_IP, ARM_LR, rd[1], SRTYPE_LSR, tmp2[0]), ctx); in emit_a32_lsh_r64()
856 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_arsh_r64() local
861 rt = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in emit_a32_arsh_r64()
866 emit(ARM_SUBS_I(tmp2[0], rt, 32), ctx); in emit_a32_arsh_r64()
870 ARM_ORR_SR(ARM_LR, ARM_LR, rd[0], SRTYPE_ASR, tmp2[0]), ctx); in emit_a32_arsh_r64()
881 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_rsh_r64() local
886 rt = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in emit_a32_rsh_r64()
891 emit(ARM_SUBS_I(tmp2[0], rt, 32), ctx); in emit_a32_rsh_r64()
894 emit(ARM_ORR_SR(ARM_LR, ARM_LR, rd[0], SRTYPE_LSR, tmp2[0]), ctx); in emit_a32_rsh_r64()
905 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_lsh_i64() local
913 emit(ARM_MOV_SI(tmp2[0], rd[0], SRTYPE_ASL, val), ctx); in emit_a32_lsh_i64()
914 emit(ARM_ORR_SI(rd[0], tmp2[0], rd[1], SRTYPE_LSR, 32 - val), ctx); in emit_a32_lsh_i64()
931 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_rsh_i64() local
943 emit(ARM_MOV_SI(tmp2[1], rd[1], SRTYPE_LSR, val), ctx); in emit_a32_rsh_i64()
944 emit(ARM_ORR_SI(rd[1], tmp2[1], rd[0], SRTYPE_ASL, 32 - val), ctx); in emit_a32_rsh_i64()
961 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_arsh_i64() local
973 emit(ARM_MOV_SI(tmp2[1], rd[1], SRTYPE_LSR, val), ctx); in emit_a32_arsh_i64()
974 emit(ARM_ORR_SI(rd[1], tmp2[1], rd[0], SRTYPE_ASL, 32 - val), ctx); in emit_a32_arsh_i64()
990 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_mul_r64() local
995 rt = arm_bpf_get_reg64(src, tmp2, ctx); in emit_a32_mul_r64()
1159 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_bpf_tail_call() local
1175 r_array = arm_bpf_get_reg32(r2[1], tmp2[0], ctx); in emit_bpf_tail_call()
1177 r_index = arm_bpf_get_reg32(r3[1], tmp2[1], ctx); in emit_bpf_tail_call()
1237 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_rev16() local
1239 emit(ARM_AND_I(tmp2[1], rn, 0xff), ctx); in emit_rev16()
1240 emit(ARM_MOV_SI(tmp2[0], rn, SRTYPE_LSR, 8), ctx); in emit_rev16()
1241 emit(ARM_AND_I(tmp2[0], tmp2[0], 0xff), ctx); in emit_rev16()
1242 emit(ARM_ORR_SI(rd, tmp2[0], tmp2[1], SRTYPE_LSL, 8), ctx); in emit_rev16()
1252 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_rev32() local
1254 emit(ARM_AND_I(tmp2[1], rn, 0xff), ctx); in emit_rev32()
1255 emit(ARM_MOV_SI(tmp2[0], rn, SRTYPE_LSR, 24), ctx); in emit_rev32()
1256 emit(ARM_ORR_SI(ARM_IP, tmp2[0], tmp2[1], SRTYPE_LSL, 24), ctx); in emit_rev32()
1258 emit(ARM_MOV_SI(tmp2[1], rn, SRTYPE_LSR, 8), ctx); in emit_rev32()
1259 emit(ARM_AND_I(tmp2[1], tmp2[1], 0xff), ctx); in emit_rev32()
1260 emit(ARM_MOV_SI(tmp2[0], rn, SRTYPE_LSR, 16), ctx); in emit_rev32()
1261 emit(ARM_AND_I(tmp2[0], tmp2[0], 0xff), ctx); in emit_rev32()
1262 emit(ARM_MOV_SI(tmp2[0], tmp2[0], SRTYPE_LSL, 8), ctx); in emit_rev32()
1263 emit(ARM_ORR_SI(tmp2[0], tmp2[0], tmp2[1], SRTYPE_LSL, 16), ctx); in emit_rev32()
1264 emit(ARM_ORR_R(rd, ARM_IP, tmp2[0]), ctx); in emit_rev32()
1274 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_push_r64() local
1278 rt = arm_bpf_get_reg64(src, tmp2, ctx); in emit_push_r64()
1354 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in build_insn() local
1440 emit_a32_mov_se_i64(is64, tmp2, imm, ctx); in build_insn()
1441 emit_a32_alu_r64(is64, dst, tmp2, ctx, BPF_OP(code)); in build_insn()
1451 rd_lo = arm_bpf_get_reg32(dst_lo, tmp2[1], ctx); in build_insn()
1454 rt = arm_bpf_get_reg32(src_lo, tmp2[0], ctx); in build_insn()
1457 rt = tmp2[0]; in build_insn()
1541 emit_a32_mov_se_i64(is64, tmp2, imm, ctx); in build_insn()
1542 emit_a32_mul_r64(dst, tmp2, ctx); in build_insn()
1572 emit_a32_mov_i(tmp2[1], 0xffff, ctx); in build_insn()
1573 emit(ARM_AND_R(rd[1], rd[1], tmp2[1]), ctx); in build_insn()
1606 rn = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in build_insn()
1620 emit_a32_mov_se_i64(true, tmp2, imm, ctx); in build_insn()
1625 emit_a32_mov_i(tmp2[1], imm, ctx); in build_insn()
1628 emit_str_r(dst_lo, tmp2, off, ctx, BPF_SIZE(code)); in build_insn()
1639 rs = arm_bpf_get_reg64(src, tmp2, ctx); in build_insn()
1676 rm = arm_bpf_get_reg32(src_hi, tmp2[0], ctx); in build_insn()
1677 rn = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in build_insn()
1714 rm = tmp2[0]; in build_insn()
1715 rn = tmp2[1]; in build_insn()
1717 emit_a32_mov_se_i64(true, tmp2, imm, ctx); in build_insn()