Lines Matching refs:reg_map

110 	PUSH_REG(reg_map[TMP_REG1]);  in sljit_emit_enter()
114 *inst++ = MOD_REG | (reg_map[TMP_REG1] << 3) | 0x4 /* esp */; in sljit_emit_enter()
118 PUSH_REG(reg_map[SLJIT_S2]); in sljit_emit_enter()
120 PUSH_REG(reg_map[SLJIT_S1]); in sljit_emit_enter()
122 PUSH_REG(reg_map[SLJIT_S0]); in sljit_emit_enter()
127 inst[1] = MOD_REG | (reg_map[SLJIT_S0] << 3) | reg_map[SLJIT_R2]; in sljit_emit_enter()
132 inst[1] = MOD_REG | (reg_map[SLJIT_S1] << 3) | reg_map[SLJIT_R1]; in sljit_emit_enter()
137 inst[1] = MOD_DISP8 | (reg_map[SLJIT_S2] << 3) | 0x4 /* esp */; in sljit_emit_enter()
144 inst[1] = MOD_DISP8 | (reg_map[SLJIT_S0] << 3) | reg_map[TMP_REG1]; in sljit_emit_enter()
150 inst[1] = MOD_DISP8 | (reg_map[SLJIT_S1] << 3) | reg_map[TMP_REG1]; in sljit_emit_enter()
156 inst[1] = MOD_DISP8 | (reg_map[SLJIT_S2] << 3) | reg_map[TMP_REG1]; in sljit_emit_enter()
190 SLJIT_ASSERT (reg_map[SLJIT_R0] == 0); in sljit_emit_enter()
231 inst[1] = MOD_REG | AND | reg_map[SLJIT_SP]; in sljit_emit_enter()
323 POP_REG(reg_map[SLJIT_S0]); in sljit_emit_return()
325 POP_REG(reg_map[SLJIT_S1]); in sljit_emit_return()
327 POP_REG(reg_map[SLJIT_S2]); in sljit_emit_return()
328 POP_REG(reg_map[TMP_REG1]); in sljit_emit_return()
444 *buf_ptr = reg_map[a] << 3; in emit_x86_instruction()
460 *buf_ptr++ |= MOD_REG + ((!(flags & EX86_SSE2_OP2)) ? reg_map[b] : b); in emit_x86_instruction()
471 *buf_ptr++ |= reg_map[b & REG_MASK]; in emit_x86_instruction()
474 *buf_ptr++ = reg_map[b & REG_MASK] | (reg_map[OFFS_REG(b)] << 3); in emit_x86_instruction()
488 *buf_ptr++ = reg_map[b & REG_MASK] | (reg_map[OFFS_REG(b)] << 3) | (immb << 6); in emit_x86_instruction()
556 PUSH_REG(reg_map[SLJIT_R2]); in c_fast_call_with_args()
604 *inst++ = XCHG_EAX_r | reg_map[SLJIT_R2]; in c_fast_call_with_args()
612 *inst++ = MOD_REG | (reg_map[SLJIT_R2] << 3) | reg_map[SLJIT_R0]; in c_fast_call_with_args()
719 inst[2] = (0x04 << 3) | reg_map[SLJIT_SP]; in post_call_with_args()
781 SLJIT_ASSERT(reg_map[SLJIT_R0] == 0 && reg_map[SLJIT_R2] == 1 && SLJIT_R0 == 1 && SLJIT_R2 == 3); in sljit_emit_icall()
853 POP_REG(reg_map[dst]); in sljit_emit_fast_enter()
879 PUSH_REG(reg_map[src]); in sljit_emit_fast_return()