Lines Matching refs:reg_map

58 static SLJIT_CONST sljit_ub reg_map[SLJIT_NUMBER_OF_REGISTERS + 6] = {  variable
62 #define RM(rm) (reg_map[rm])
63 #define RD(rd) (reg_map[rd] << 12)
64 #define RN(rn) (reg_map[rn] << 16)
845 push |= 1 << reg_map[i]; in sljit_emit_enter()
848 push |= 1 << reg_map[i]; in sljit_emit_enter()
903 pop |= 1 << reg_map[i]; in sljit_emit_return()
906 pop |= 1 << reg_map[i]; in sljit_emit_return()
941 …ansfer_insts[(type) >> 4] | ((add) << 23) | ((wb) << 21) | (reg_map[target] << 12) | (reg_map[base…
981 …ags & SET_FLAGS, dst, SLJIT_UNUSED, (compiler->shift_imm << 7) | (opcode << 5) | reg_map[src2])); \
982 …st(compiler, EMIT_DATA_PROCESS_INS(MOV_DP, flags & SET_FLAGS, dst, SLJIT_UNUSED, reg_map[src2])); \
984 …JIT_UNUSED, (reg_map[(flags & ARGS_SWAPPED) ? src1 : src2] << 8) | (opcode << 5) | 0x10 | ((flags …
1000 EMIT_FULL_DATA_PROCESS_INS_AND_RETURN(MOV_DP, dst, SLJIT_UNUSED, reg_map[src2]); in emit_single_op()
1011 …sh_inst(compiler, EMIT_DATA_PROCESS_INS(MOV_DP, 0, dst, SLJIT_UNUSED, (24 << 7) | reg_map[src2]))); in emit_single_op()
1012 …_INS(MOV_DP, 0, dst, SLJIT_UNUSED, (24 << 7) | (op == SLJIT_MOV_UB ? 0x20 : 0x40) | reg_map[dst])); in emit_single_op()
1030 …sh_inst(compiler, EMIT_DATA_PROCESS_INS(MOV_DP, 0, dst, SLJIT_UNUSED, (16 << 7) | reg_map[src2]))); in emit_single_op()
1031 …_INS(MOV_DP, 0, dst, SLJIT_UNUSED, (16 << 7) | (op == SLJIT_MOV_UH ? 0x20 : 0x40) | reg_map[dst])); in emit_single_op()
1084 mul_inst = SMULL | (reg_map[TMP_REG3] << 16) | (reg_map[dst] << 12); in emit_single_op()
1086 mul_inst = MUL | (reg_map[dst] << 16); in emit_single_op()
1089 FAIL_IF(push_inst(compiler, mul_inst | (reg_map[src1] << 8) | reg_map[src2])); in emit_single_op()
1091 FAIL_IF(push_inst(compiler, mul_inst | (reg_map[src2] << 8) | reg_map[src1])); in emit_single_op()
1095 …FAIL_IF(push_inst(compiler, EMIT_DATA_PROCESS_INS(MOV_DP, 0, TMP_REG1, SLJIT_UNUSED, reg_map[src2]… in emit_single_op()
1096 FAIL_IF(push_inst(compiler, mul_inst | (reg_map[src2] << 8) | reg_map[TMP_REG1])); in emit_single_op()
1567 …FAIL_IF(push_inst(compiler, EMIT_DATA_PROCESS_INS(ADD_DP, 0, TMP_REG3, TMP_REG3, reg_map[arg & REG… in getput_arg()
1583 …DATA_TRANSFER(inp_flags, 1, inp_flags & WRITE_BACK, reg, arg & REG_MASK, reg_map[tmp_r] | (max_del… in getput_arg()
1824 | (reg_map[SLJIT_R1] << 16) in sljit_emit_op0()
1825 | (reg_map[SLJIT_R0] << 12) in sljit_emit_op0()
1826 | (reg_map[SLJIT_R0] << 8) in sljit_emit_op0()
1827 | reg_map[SLJIT_R1]); in sljit_emit_op0()
1831 | (reg_map[SLJIT_R1] << 16) in sljit_emit_op0()
1832 | (reg_map[SLJIT_R0] << 12) in sljit_emit_op0()
1833 | (reg_map[SLJIT_R0] << 8) in sljit_emit_op0()
1834 | reg_map[TMP_REG1]); in sljit_emit_op0()
1841 SLJIT_COMPILE_ASSERT(reg_map[2] == 1 && reg_map[3] == 2, bad_register_mapping); in sljit_emit_op0()
1977 return reg_map[reg]; in sljit_get_register_index()
2039 ((inst) | ((add) << 23) | (reg_map[base] << 16) | (freg << 12) | (offs))
2099 …FAIL_IF(push_inst(compiler, EMIT_DATA_PROCESS_INS(ADD_DP, 0, TMP_REG3, arg & REG_MASK, reg_map[TMP… in emit_fop_mem()