Lines Matching refs:tmp2
847 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_alu_r64() local
854 rs = arm_bpf_get_reg64(src, tmp2, ctx); in emit_a32_alu_r64()
862 rs = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in emit_a32_alu_r64()
1011 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_lsh_r64() local
1016 rt = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in emit_a32_lsh_r64()
1021 emit(ARM_RSB_I(tmp2[0], rt, 32), ctx); in emit_a32_lsh_r64()
1024 emit(ARM_ORR_SR(ARM_IP, ARM_LR, rd[1], SRTYPE_LSR, tmp2[0]), ctx); in emit_a32_lsh_r64()
1035 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_arsh_r64() local
1040 rt = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in emit_a32_arsh_r64()
1045 emit(ARM_SUBS_I(tmp2[0], rt, 32), ctx); in emit_a32_arsh_r64()
1049 ARM_ORR_SR(ARM_LR, ARM_LR, rd[0], SRTYPE_ASR, tmp2[0]), ctx); in emit_a32_arsh_r64()
1060 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_rsh_r64() local
1065 rt = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in emit_a32_rsh_r64()
1070 emit(ARM_SUBS_I(tmp2[0], rt, 32), ctx); in emit_a32_rsh_r64()
1073 emit(ARM_ORR_SR(ARM_LR, ARM_LR, rd[0], SRTYPE_LSR, tmp2[0]), ctx); in emit_a32_rsh_r64()
1084 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_lsh_i64() local
1092 emit(ARM_MOV_SI(tmp2[0], rd[0], SRTYPE_ASL, val), ctx); in emit_a32_lsh_i64()
1093 emit(ARM_ORR_SI(rd[0], tmp2[0], rd[1], SRTYPE_LSR, 32 - val), ctx); in emit_a32_lsh_i64()
1110 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_rsh_i64() local
1122 emit(ARM_MOV_SI(tmp2[1], rd[1], SRTYPE_LSR, val), ctx); in emit_a32_rsh_i64()
1123 emit(ARM_ORR_SI(rd[1], tmp2[1], rd[0], SRTYPE_ASL, 32 - val), ctx); in emit_a32_rsh_i64()
1140 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_arsh_i64() local
1152 emit(ARM_MOV_SI(tmp2[1], rd[1], SRTYPE_LSR, val), ctx); in emit_a32_arsh_i64()
1153 emit(ARM_ORR_SI(rd[1], tmp2[1], rd[0], SRTYPE_ASL, 32 - val), ctx); in emit_a32_arsh_i64()
1169 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_mul_r64() local
1174 rt = arm_bpf_get_reg64(src, tmp2, ctx); in emit_a32_mul_r64()
1400 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_bpf_tail_call() local
1416 r_array = arm_bpf_get_reg32(r2[1], tmp2[0], ctx); in emit_bpf_tail_call()
1418 r_index = arm_bpf_get_reg32(r3[1], tmp2[1], ctx); in emit_bpf_tail_call()
1478 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_rev16() local
1480 emit(ARM_AND_I(tmp2[1], rn, 0xff), ctx); in emit_rev16()
1481 emit(ARM_MOV_SI(tmp2[0], rn, SRTYPE_LSR, 8), ctx); in emit_rev16()
1482 emit(ARM_AND_I(tmp2[0], tmp2[0], 0xff), ctx); in emit_rev16()
1483 emit(ARM_ORR_SI(rd, tmp2[0], tmp2[1], SRTYPE_LSL, 8), ctx); in emit_rev16()
1493 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_rev32() local
1495 emit(ARM_AND_I(tmp2[1], rn, 0xff), ctx); in emit_rev32()
1496 emit(ARM_MOV_SI(tmp2[0], rn, SRTYPE_LSR, 24), ctx); in emit_rev32()
1497 emit(ARM_ORR_SI(ARM_IP, tmp2[0], tmp2[1], SRTYPE_LSL, 24), ctx); in emit_rev32()
1499 emit(ARM_MOV_SI(tmp2[1], rn, SRTYPE_LSR, 8), ctx); in emit_rev32()
1500 emit(ARM_AND_I(tmp2[1], tmp2[1], 0xff), ctx); in emit_rev32()
1501 emit(ARM_MOV_SI(tmp2[0], rn, SRTYPE_LSR, 16), ctx); in emit_rev32()
1502 emit(ARM_AND_I(tmp2[0], tmp2[0], 0xff), ctx); in emit_rev32()
1503 emit(ARM_MOV_SI(tmp2[0], tmp2[0], SRTYPE_LSL, 8), ctx); in emit_rev32()
1504 emit(ARM_ORR_SI(tmp2[0], tmp2[0], tmp2[1], SRTYPE_LSL, 16), ctx); in emit_rev32()
1505 emit(ARM_ORR_R(rd, ARM_IP, tmp2[0]), ctx); in emit_rev32()
1515 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_push_r64() local
1519 rt = arm_bpf_get_reg64(src, tmp2, ctx); in emit_push_r64()
1595 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in build_insn() local
1684 emit_a32_mov_se_i64(is64, tmp2, imm, ctx); in build_insn()
1685 emit_a32_alu_r64(is64, dst, tmp2, ctx, BPF_OP(code)); in build_insn()
1695 rd_lo = arm_bpf_get_reg32(dst_lo, tmp2[1], ctx); in build_insn()
1698 rt = arm_bpf_get_reg32(src_lo, tmp2[0], ctx); in build_insn()
1701 rt = tmp2[0]; in build_insn()
1717 rd = arm_bpf_get_reg64(dst, tmp2, ctx); in build_insn()
1797 emit_a32_mov_se_i64(is64, tmp2, imm, ctx); in build_insn()
1798 emit_a32_mul_r64(dst, tmp2, ctx); in build_insn()
1830 emit_a32_mov_i(tmp2[1], 0xffff, ctx); in build_insn()
1831 emit(ARM_AND_R(rd[1], rd[1], tmp2[1]), ctx); in build_insn()
1868 rn = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in build_insn()
1885 emit_a32_mov_se_i64(true, tmp2, imm, ctx); in build_insn()
1890 emit_a32_mov_i(tmp2[1], imm, ctx); in build_insn()
1893 emit_str_r(dst_lo, tmp2, off, ctx, BPF_SIZE(code)); in build_insn()
1904 rs = arm_bpf_get_reg64(src, tmp2, ctx); in build_insn()
1941 rm = arm_bpf_get_reg32(src_hi, tmp2[0], ctx); in build_insn()
1942 rn = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in build_insn()
1979 rm = tmp2[0]; in build_insn()
1980 rn = tmp2[1]; in build_insn()
1982 emit_a32_mov_se_i64(true, tmp2, imm, ctx); in build_insn()