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()
826 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_lsh_r64() local
831 rt = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in emit_a32_lsh_r64()
836 emit(ARM_RSB_I(tmp2[0], rt, 32), ctx); in emit_a32_lsh_r64()
839 emit(ARM_ORR_SR(ARM_IP, ARM_LR, rd[1], SRTYPE_LSR, tmp2[0]), ctx); in emit_a32_lsh_r64()
850 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_arsh_r64() local
855 rt = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in emit_a32_arsh_r64()
860 emit(ARM_SUBS_I(tmp2[0], rt, 32), ctx); in emit_a32_arsh_r64()
864 emit(ARM_ORR_SR(ARM_LR, ARM_LR, rd[0], SRTYPE_ASR, tmp2[0]), ctx); in emit_a32_arsh_r64()
875 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_rsh_r64() local
880 rt = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in emit_a32_rsh_r64()
885 emit(ARM_SUBS_I(tmp2[0], rt, 32), ctx); in emit_a32_rsh_r64()
888 emit(ARM_ORR_SR(ARM_LR, ARM_LR, rd[0], SRTYPE_LSR, tmp2[0]), ctx); in emit_a32_rsh_r64()
899 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_lsh_i64() local
907 emit(ARM_MOV_SI(tmp2[0], rd[0], SRTYPE_ASL, val), ctx); in emit_a32_lsh_i64()
908 emit(ARM_ORR_SI(rd[0], tmp2[0], rd[1], SRTYPE_LSR, 32 - val), ctx); in emit_a32_lsh_i64()
925 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_rsh_i64() local
933 emit(ARM_MOV_SI(tmp2[1], rd[1], SRTYPE_LSR, val), ctx); in emit_a32_rsh_i64()
934 emit(ARM_ORR_SI(rd[1], tmp2[1], rd[0], SRTYPE_ASL, 32 - val), ctx); in emit_a32_rsh_i64()
951 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_arsh_i64() local
959 emit(ARM_MOV_SI(tmp2[1], rd[1], SRTYPE_LSR, val), ctx); in emit_a32_arsh_i64()
960 emit(ARM_ORR_SI(rd[1], tmp2[1], rd[0], SRTYPE_ASL, 32 - val), ctx); in emit_a32_arsh_i64()
976 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_mul_r64() local
981 rt = arm_bpf_get_reg64(src, tmp2, ctx); in emit_a32_mul_r64()
1137 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_bpf_tail_call() local
1153 r_array = arm_bpf_get_reg32(r2[1], tmp2[0], ctx); in emit_bpf_tail_call()
1155 r_index = arm_bpf_get_reg32(r3[1], tmp2[1], ctx); in emit_bpf_tail_call()
1214 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_rev16() local
1216 emit(ARM_AND_I(tmp2[1], rn, 0xff), ctx); in emit_rev16()
1217 emit(ARM_MOV_SI(tmp2[0], rn, SRTYPE_LSR, 8), ctx); in emit_rev16()
1218 emit(ARM_AND_I(tmp2[0], tmp2[0], 0xff), ctx); in emit_rev16()
1219 emit(ARM_ORR_SI(rd, tmp2[0], tmp2[1], SRTYPE_LSL, 8), ctx); in emit_rev16()
1229 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_rev32() local
1231 emit(ARM_AND_I(tmp2[1], rn, 0xff), ctx); in emit_rev32()
1232 emit(ARM_MOV_SI(tmp2[0], rn, SRTYPE_LSR, 24), ctx); in emit_rev32()
1233 emit(ARM_ORR_SI(ARM_IP, tmp2[0], tmp2[1], SRTYPE_LSL, 24), ctx); in emit_rev32()
1235 emit(ARM_MOV_SI(tmp2[1], rn, SRTYPE_LSR, 8), ctx); in emit_rev32()
1236 emit(ARM_AND_I(tmp2[1], tmp2[1], 0xff), ctx); in emit_rev32()
1237 emit(ARM_MOV_SI(tmp2[0], rn, SRTYPE_LSR, 16), ctx); in emit_rev32()
1238 emit(ARM_AND_I(tmp2[0], tmp2[0], 0xff), ctx); in emit_rev32()
1239 emit(ARM_MOV_SI(tmp2[0], tmp2[0], SRTYPE_LSL, 8), ctx); in emit_rev32()
1240 emit(ARM_ORR_SI(tmp2[0], tmp2[0], tmp2[1], SRTYPE_LSL, 16), ctx); in emit_rev32()
1241 emit(ARM_ORR_R(rd, ARM_IP, tmp2[0]), ctx); in emit_rev32()
1251 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_push_r64() local
1255 rt = arm_bpf_get_reg64(src, tmp2, ctx); in emit_push_r64()
1335 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in build_insn() local
1422 emit_a32_mov_se_i64(is64, tmp2, imm, ctx); in build_insn()
1423 emit_a32_alu_r64(is64, dst, tmp2, ctx, BPF_OP(code)); in build_insn()
1433 rd_lo = arm_bpf_get_reg32(dst_lo, tmp2[1], ctx); in build_insn()
1436 rt = arm_bpf_get_reg32(src_lo, tmp2[0], ctx); in build_insn()
1439 rt = tmp2[0]; in build_insn()
1521 emit_a32_mov_se_i64(is64, tmp2, imm, ctx); in build_insn()
1522 emit_a32_mul_r64(dst, tmp2, ctx); in build_insn()
1552 emit_a32_mov_i(tmp2[1], 0xffff, ctx); in build_insn()
1553 emit(ARM_AND_R(rd[1], rd[1], tmp2[1]), ctx); in build_insn()
1586 rn = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in build_insn()
1597 emit_a32_mov_se_i64(true, tmp2, imm, ctx); in build_insn()
1602 emit_a32_mov_i(tmp2[1], imm, ctx); in build_insn()
1605 emit_str_r(dst_lo, tmp2, off, ctx, BPF_SIZE(code)); in build_insn()
1617 rs = arm_bpf_get_reg64(src, tmp2, ctx); in build_insn()
1654 rm = arm_bpf_get_reg32(src_hi, tmp2[0], ctx); in build_insn()
1655 rn = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in build_insn()
1692 rm = tmp2[0]; in build_insn()
1693 rn = tmp2[1]; in build_insn()
1695 emit_a32_mov_se_i64(true, tmp2, imm, ctx); in build_insn()