Lines Matching refs:tmp2
717 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_alu_r64() local
724 rs = arm_bpf_get_reg64(src, tmp2, ctx); in emit_a32_alu_r64()
732 rs = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in emit_a32_alu_r64()
829 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_lsh_r64() local
834 rt = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in emit_a32_lsh_r64()
839 emit(ARM_RSB_I(tmp2[0], rt, 32), ctx); in emit_a32_lsh_r64()
842 emit(ARM_ORR_SR(ARM_IP, ARM_LR, rd[1], SRTYPE_LSR, tmp2[0]), ctx); in emit_a32_lsh_r64()
853 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_arsh_r64() local
858 rt = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in emit_a32_arsh_r64()
863 emit(ARM_SUBS_I(tmp2[0], rt, 32), ctx); in emit_a32_arsh_r64()
867 ARM_ORR_SR(ARM_LR, ARM_LR, rd[0], SRTYPE_ASR, tmp2[0]), ctx); in emit_a32_arsh_r64()
878 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_rsh_r64() local
883 rt = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in emit_a32_rsh_r64()
888 emit(ARM_SUBS_I(tmp2[0], rt, 32), ctx); in emit_a32_rsh_r64()
891 emit(ARM_ORR_SR(ARM_LR, ARM_LR, rd[0], SRTYPE_LSR, tmp2[0]), ctx); in emit_a32_rsh_r64()
902 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_lsh_i64() local
910 emit(ARM_MOV_SI(tmp2[0], rd[0], SRTYPE_ASL, val), ctx); in emit_a32_lsh_i64()
911 emit(ARM_ORR_SI(rd[0], tmp2[0], rd[1], SRTYPE_LSR, 32 - val), ctx); in emit_a32_lsh_i64()
928 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_rsh_i64() local
940 emit(ARM_MOV_SI(tmp2[1], rd[1], SRTYPE_LSR, val), ctx); in emit_a32_rsh_i64()
941 emit(ARM_ORR_SI(rd[1], tmp2[1], rd[0], SRTYPE_ASL, 32 - val), ctx); in emit_a32_rsh_i64()
958 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_arsh_i64() local
970 emit(ARM_MOV_SI(tmp2[1], rd[1], SRTYPE_LSR, val), ctx); in emit_a32_arsh_i64()
971 emit(ARM_ORR_SI(rd[1], tmp2[1], rd[0], SRTYPE_ASL, 32 - val), ctx); in emit_a32_arsh_i64()
987 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_mul_r64() local
992 rt = arm_bpf_get_reg64(src, tmp2, ctx); in emit_a32_mul_r64()
1156 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_bpf_tail_call() local
1172 r_array = arm_bpf_get_reg32(r2[1], tmp2[0], ctx); in emit_bpf_tail_call()
1174 r_index = arm_bpf_get_reg32(r3[1], tmp2[1], ctx); in emit_bpf_tail_call()
1233 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_rev16() local
1235 emit(ARM_AND_I(tmp2[1], rn, 0xff), ctx); in emit_rev16()
1236 emit(ARM_MOV_SI(tmp2[0], rn, SRTYPE_LSR, 8), ctx); in emit_rev16()
1237 emit(ARM_AND_I(tmp2[0], tmp2[0], 0xff), ctx); in emit_rev16()
1238 emit(ARM_ORR_SI(rd, tmp2[0], tmp2[1], SRTYPE_LSL, 8), ctx); in emit_rev16()
1248 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_rev32() local
1250 emit(ARM_AND_I(tmp2[1], rn, 0xff), ctx); in emit_rev32()
1251 emit(ARM_MOV_SI(tmp2[0], rn, SRTYPE_LSR, 24), ctx); in emit_rev32()
1252 emit(ARM_ORR_SI(ARM_IP, tmp2[0], tmp2[1], SRTYPE_LSL, 24), ctx); in emit_rev32()
1254 emit(ARM_MOV_SI(tmp2[1], rn, SRTYPE_LSR, 8), ctx); in emit_rev32()
1255 emit(ARM_AND_I(tmp2[1], tmp2[1], 0xff), ctx); in emit_rev32()
1256 emit(ARM_MOV_SI(tmp2[0], rn, SRTYPE_LSR, 16), ctx); in emit_rev32()
1257 emit(ARM_AND_I(tmp2[0], tmp2[0], 0xff), ctx); in emit_rev32()
1258 emit(ARM_MOV_SI(tmp2[0], tmp2[0], SRTYPE_LSL, 8), ctx); in emit_rev32()
1259 emit(ARM_ORR_SI(tmp2[0], tmp2[0], tmp2[1], SRTYPE_LSL, 16), ctx); in emit_rev32()
1260 emit(ARM_ORR_R(rd, ARM_IP, tmp2[0]), ctx); in emit_rev32()
1270 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_push_r64() local
1274 rt = arm_bpf_get_reg64(src, tmp2, ctx); in emit_push_r64()
1350 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in build_insn() local
1436 emit_a32_mov_se_i64(is64, tmp2, imm, ctx); in build_insn()
1437 emit_a32_alu_r64(is64, dst, tmp2, ctx, BPF_OP(code)); in build_insn()
1447 rd_lo = arm_bpf_get_reg32(dst_lo, tmp2[1], ctx); in build_insn()
1450 rt = arm_bpf_get_reg32(src_lo, tmp2[0], ctx); in build_insn()
1453 rt = tmp2[0]; in build_insn()
1537 emit_a32_mov_se_i64(is64, tmp2, imm, ctx); in build_insn()
1538 emit_a32_mul_r64(dst, tmp2, ctx); in build_insn()
1568 emit_a32_mov_i(tmp2[1], 0xffff, ctx); in build_insn()
1569 emit(ARM_AND_R(rd[1], rd[1], tmp2[1]), ctx); in build_insn()
1602 rn = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in build_insn()
1613 emit_a32_mov_se_i64(true, tmp2, imm, ctx); in build_insn()
1618 emit_a32_mov_i(tmp2[1], imm, ctx); in build_insn()
1621 emit_str_r(dst_lo, tmp2, off, ctx, BPF_SIZE(code)); in build_insn()
1633 rs = arm_bpf_get_reg64(src, tmp2, ctx); in build_insn()
1670 rm = arm_bpf_get_reg32(src_hi, tmp2[0], ctx); in build_insn()
1671 rn = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in build_insn()
1708 rm = tmp2[0]; in build_insn()
1709 rn = tmp2[1]; in build_insn()
1711 emit_a32_mov_se_i64(true, tmp2, imm, ctx); in build_insn()