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()
827 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_lsh_r64() local
832 rt = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in emit_a32_lsh_r64()
837 emit(ARM_RSB_I(tmp2[0], rt, 32), ctx); in emit_a32_lsh_r64()
840 emit(ARM_ORR_SR(ARM_IP, ARM_LR, rd[1], SRTYPE_LSR, tmp2[0]), ctx); in emit_a32_lsh_r64()
851 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_arsh_r64() local
856 rt = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in emit_a32_arsh_r64()
861 emit(ARM_SUBS_I(tmp2[0], rt, 32), ctx); in emit_a32_arsh_r64()
865 emit(ARM_ORR_SR(ARM_LR, ARM_LR, rd[0], SRTYPE_ASR, tmp2[0]), ctx); in emit_a32_arsh_r64()
876 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_rsh_r64() local
881 rt = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in emit_a32_rsh_r64()
886 emit(ARM_SUBS_I(tmp2[0], rt, 32), ctx); in emit_a32_rsh_r64()
889 emit(ARM_ORR_SR(ARM_LR, ARM_LR, rd[0], SRTYPE_LSR, tmp2[0]), ctx); in emit_a32_rsh_r64()
900 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_lsh_i64() local
908 emit(ARM_MOV_SI(tmp2[0], rd[0], SRTYPE_ASL, val), ctx); in emit_a32_lsh_i64()
909 emit(ARM_ORR_SI(rd[0], tmp2[0], rd[1], SRTYPE_LSR, 32 - val), ctx); in emit_a32_lsh_i64()
926 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_rsh_i64() local
934 emit(ARM_MOV_SI(tmp2[1], rd[1], SRTYPE_LSR, val), ctx); in emit_a32_rsh_i64()
935 emit(ARM_ORR_SI(rd[1], tmp2[1], rd[0], SRTYPE_ASL, 32 - val), ctx); in emit_a32_rsh_i64()
952 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_arsh_i64() local
960 emit(ARM_MOV_SI(tmp2[1], rd[1], SRTYPE_LSR, val), ctx); in emit_a32_arsh_i64()
961 emit(ARM_ORR_SI(rd[1], tmp2[1], rd[0], SRTYPE_ASL, 32 - val), ctx); in emit_a32_arsh_i64()
977 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_mul_r64() local
982 rt = arm_bpf_get_reg64(src, tmp2, ctx); in emit_a32_mul_r64()
1123 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_bpf_tail_call() local
1139 r_array = arm_bpf_get_reg32(r2[1], tmp2[0], ctx); in emit_bpf_tail_call()
1141 r_index = arm_bpf_get_reg32(r3[1], tmp2[1], ctx); in emit_bpf_tail_call()
1200 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_rev16() local
1202 emit(ARM_AND_I(tmp2[1], rn, 0xff), ctx); in emit_rev16()
1203 emit(ARM_MOV_SI(tmp2[0], rn, SRTYPE_LSR, 8), ctx); in emit_rev16()
1204 emit(ARM_AND_I(tmp2[0], tmp2[0], 0xff), ctx); in emit_rev16()
1205 emit(ARM_ORR_SI(rd, tmp2[0], tmp2[1], SRTYPE_LSL, 8), ctx); in emit_rev16()
1215 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_rev32() local
1217 emit(ARM_AND_I(tmp2[1], rn, 0xff), ctx); in emit_rev32()
1218 emit(ARM_MOV_SI(tmp2[0], rn, SRTYPE_LSR, 24), ctx); in emit_rev32()
1219 emit(ARM_ORR_SI(ARM_IP, tmp2[0], tmp2[1], SRTYPE_LSL, 24), ctx); in emit_rev32()
1221 emit(ARM_MOV_SI(tmp2[1], rn, SRTYPE_LSR, 8), ctx); in emit_rev32()
1222 emit(ARM_AND_I(tmp2[1], tmp2[1], 0xff), ctx); in emit_rev32()
1223 emit(ARM_MOV_SI(tmp2[0], rn, SRTYPE_LSR, 16), ctx); in emit_rev32()
1224 emit(ARM_AND_I(tmp2[0], tmp2[0], 0xff), ctx); in emit_rev32()
1225 emit(ARM_MOV_SI(tmp2[0], tmp2[0], SRTYPE_LSL, 8), ctx); in emit_rev32()
1226 emit(ARM_ORR_SI(tmp2[0], tmp2[0], tmp2[1], SRTYPE_LSL, 16), ctx); in emit_rev32()
1227 emit(ARM_ORR_R(rd, ARM_IP, tmp2[0]), ctx); in emit_rev32()
1237 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_push_r64() local
1241 rt = arm_bpf_get_reg64(src, tmp2, ctx); in emit_push_r64()
1321 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in build_insn() local
1403 emit_a32_mov_se_i64(is64, tmp2, imm, ctx); in build_insn()
1404 emit_a32_alu_r64(is64, dst, tmp2, ctx, BPF_OP(code)); in build_insn()
1414 rd_lo = arm_bpf_get_reg32(dst_lo, tmp2[1], ctx); in build_insn()
1417 rt = arm_bpf_get_reg32(src_lo, tmp2[0], ctx); in build_insn()
1420 rt = tmp2[0]; in build_insn()
1499 emit_a32_mov_se_i64(is64, tmp2, imm, ctx); in build_insn()
1500 emit_a32_mul_r64(dst, tmp2, ctx); in build_insn()
1530 emit_a32_mov_i(tmp2[1], 0xffff, ctx); in build_insn()
1531 emit(ARM_AND_R(rd[1], rd[1], tmp2[1]), ctx); in build_insn()
1562 rn = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in build_insn()
1573 emit_a32_mov_se_i64(true, tmp2, imm, ctx); in build_insn()
1578 emit_a32_mov_i(tmp2[1], imm, ctx); in build_insn()
1581 emit_str_r(dst_lo, tmp2, off, ctx, BPF_SIZE(code)); in build_insn()
1593 rs = arm_bpf_get_reg64(src, tmp2, ctx); in build_insn()
1619 rm = arm_bpf_get_reg32(src_hi, tmp2[0], ctx); in build_insn()
1620 rn = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in build_insn()
1646 rm = tmp2[0]; in build_insn()
1647 rn = tmp2[1]; in build_insn()
1649 emit_a32_mov_se_i64(true, tmp2, imm, ctx); in build_insn()