Lines Matching refs:reg
1312 sljit_s32 reg, in sljit_emit_mem() argument
1320 CHECK(check_sljit_emit_mem(compiler, type, reg, mem, memw)); in sljit_emit_mem()
1322 if (!(reg & REG_PAIR_MASK)) in sljit_emit_mem()
1323 return sljit_emit_mem_unaligned(compiler, type, reg, mem, memw); in sljit_emit_mem()
1327 regs[0] = U8(REG_PAIR_FIRST(reg)); in sljit_emit_mem()
1328 regs[1] = U8(REG_PAIR_SECOND(reg)); in sljit_emit_mem()
1351 reg = regs[reg_idx]; in sljit_emit_mem()
1355 if (reg >= SLJIT_R3 && reg <= SLJIT_S3) { in sljit_emit_mem()
1356 offset = (2 * SSIZE_OF(sw)) + ((reg) - SLJIT_R3) * SSIZE_OF(sw); in sljit_emit_mem()
1357 reg = TMP_REG1; in sljit_emit_mem()
1370 inst[1] = 0x44 | U8(reg_map[reg] << 3); in sljit_emit_mem()
1374 EMIT_MOV(compiler, mem, memw, reg, 0); in sljit_emit_mem()
1376 EMIT_MOV(compiler, reg, 0, mem, memw); in sljit_emit_mem()
1588 sljit_s32 freg, sljit_s32 reg) in sljit_emit_fcopy() argument
1595 CHECK(check_sljit_emit_fcopy(compiler, op, freg, reg)); in sljit_emit_fcopy()
1604 if (reg & REG_PAIR_MASK) { in sljit_emit_fcopy()
1605 reg2 = REG_PAIR_FIRST(reg); in sljit_emit_fcopy()
1606 reg = REG_PAIR_SECOND(reg); in sljit_emit_fcopy()
1608 CHECK_EXTRA_REGS(reg, regw, (void)0); in sljit_emit_fcopy()
1611 | EX86_PREF_66 | EX86_SSE2_OP1, freg, reg, regw)); in sljit_emit_fcopy()
1613 reg2 = reg; in sljit_emit_fcopy()
1622 if (reg & REG_PAIR_MASK) { in sljit_emit_fcopy()
1623 reg2 = REG_PAIR_SECOND(reg); in sljit_emit_fcopy()
1624 reg = REG_PAIR_FIRST(reg); in sljit_emit_fcopy()
1626 if (reg == reg2) in sljit_emit_fcopy()
1627 reg = 0; in sljit_emit_fcopy()
1632 CHECK_EXTRA_REGS(reg, regw, (void)0); in sljit_emit_fcopy()
1636 | EX86_PREF_66 | EX86_SSE2_OP1, freg, reg, regw); in sljit_emit_fcopy()
1648 } else if (reg != 0) in sljit_emit_fcopy()
1649 FAIL_IF(emit_groupf(compiler, MOVD_x_rm | EX86_PREF_66 | EX86_SSE2_OP1, TMP_FREG, reg, regw)); in sljit_emit_fcopy()
1662 inst[2] = U8(MOD_REG | (freg_map[freg] << 3) | freg_map[reg == 0 ? freg : TMP_FREG]); in sljit_emit_fcopy()
1664 FAIL_IF(emit_groupf(compiler, MOVD_rm_x | EX86_PREF_66 | EX86_SSE2_OP1, TMP_FREG, reg, regw)); in sljit_emit_fcopy()