Lines Matching refs:reg
127 #define OFFS_REG(reg) (((reg) >> 8) & REG_MASK) argument
129 #define TO_OFFS_REG(reg) ((reg) << 8) argument
130 #define FAST_IS_REG(reg) ((reg) < REG_MASK) argument
138 #define REG_PAIR_FIRST(reg) ((reg) & 0x7f) argument
139 #define REG_PAIR_SECOND(reg) ((reg) >> 8) argument
839 #define ADDRESSING_DEPENDS_ON(exp, reg) \ argument
840 (((exp) & SLJIT_MEM) && (((exp) & REG_MASK) == reg || OFFS_REG(exp) == reg))
1815 static SLJIT_INLINE CHECK_RETURN_TYPE check_sljit_get_register_index(sljit_s32 type, sljit_s32 reg) in check_sljit_get_register_index() argument
1818 SLJIT_UNUSED_ARG(reg); in check_sljit_get_register_index()
1821 CHECK_ARGUMENT((reg > 0 && reg <= SLJIT_NUMBER_OF_REGISTERS) in check_sljit_get_register_index()
1822 …|| (reg >= SLJIT_TMP_REGISTER_BASE && reg < (SLJIT_TMP_REGISTER_BASE + SLJIT_NUMBER_OF_TEMPORARY_R… in check_sljit_get_register_index()
1825 CHECK_ARGUMENT((reg > 0 && reg <= SLJIT_NUMBER_OF_FLOAT_REGISTERS) in check_sljit_get_register_index()
1826 …|| (reg >= SLJIT_TMP_FREGISTER_BASE && reg < (SLJIT_TMP_FREGISTER_BASE + SLJIT_NUMBER_OF_TEMPORARY… in check_sljit_get_register_index()
2105 sljit_s32 freg, sljit_s32 reg) in check_sljit_emit_fcopy() argument
2114 CHECK_ARGUMENT(FUNCTION_CHECK_IS_REG(reg)); in check_sljit_emit_fcopy()
2119 CHECK_ARGUMENT(FUNCTION_CHECK_IS_REG(reg)); in check_sljit_emit_fcopy()
2123 if (reg & REG_PAIR_MASK) { in check_sljit_emit_fcopy()
2124 CHECK_ARGUMENT(FUNCTION_CHECK_IS_REG(REG_PAIR_FIRST(reg))); in check_sljit_emit_fcopy()
2125 CHECK_ARGUMENT(FUNCTION_CHECK_IS_REG(REG_PAIR_SECOND(reg))); in check_sljit_emit_fcopy()
2130 CHECK_ARGUMENT(REG_PAIR_FIRST(reg) != REG_PAIR_SECOND(reg)); in check_sljit_emit_fcopy()
2134 CHECK_ARGUMENT(FUNCTION_CHECK_IS_REG(reg)); in check_sljit_emit_fcopy()
2146 if (reg & REG_PAIR_MASK) { in check_sljit_emit_fcopy()
2148 sljit_verbose_reg(compiler, REG_PAIR_FIRST(reg)); in check_sljit_emit_fcopy()
2150 sljit_verbose_reg(compiler, REG_PAIR_SECOND(reg)); in check_sljit_emit_fcopy()
2154 sljit_verbose_reg(compiler, reg); in check_sljit_emit_fcopy()
2494 sljit_s32 reg, in check_sljit_emit_mem() argument
2512 CHECK_ARGUMENT((reg & REG_PAIR_MASK) || (type & SLJIT_MEM_ALIGNED_32)); in check_sljit_emit_mem()
2531 if (reg & REG_PAIR_MASK) { in check_sljit_emit_mem()
2533 CHECK_ARGUMENT(FUNCTION_CHECK_IS_REG(REG_PAIR_FIRST(reg))); in check_sljit_emit_mem()
2534 CHECK_ARGUMENT(FUNCTION_CHECK_IS_REG(REG_PAIR_SECOND(reg))); in check_sljit_emit_mem()
2535 CHECK_ARGUMENT(REG_PAIR_FIRST(reg) != REG_PAIR_SECOND(reg)); in check_sljit_emit_mem()
2539 CHECK_ARGUMENT(FUNCTION_CHECK_IS_REG(reg)); in check_sljit_emit_mem()
2561 if (reg & REG_PAIR_MASK) { in check_sljit_emit_mem()
2563 sljit_verbose_reg(compiler, REG_PAIR_FIRST(reg)); in check_sljit_emit_mem()
2565 sljit_verbose_reg(compiler, REG_PAIR_SECOND(reg)); in check_sljit_emit_mem()
2569 sljit_verbose_reg(compiler, reg); in check_sljit_emit_mem()
2580 sljit_s32 reg, in check_sljit_emit_mem_update() argument
2591 CHECK_ARGUMENT((mem & REG_MASK) != 0 && (mem & REG_MASK) != reg); in check_sljit_emit_mem_update()
2599 …if (sljit_emit_mem_update(compiler, type | SLJIT_MEM_SUPP, reg, mem, memw) == SLJIT_ERR_UNSUPPORTE… in check_sljit_emit_mem_update()
2615 sljit_verbose_reg(compiler, reg); in check_sljit_emit_mem_update()
3083 sljit_s32 reg, in sljit_emit_mem_unaligned() argument
3089 return sljit_emit_op1(compiler, type & (0xff | SLJIT_32), mem, memw, reg, 0); in sljit_emit_mem_unaligned()
3090 return sljit_emit_op1(compiler, type & (0xff | SLJIT_32), reg, 0, mem, memw); in sljit_emit_mem_unaligned()
3340 sljit_s32 reg, in sljit_emit_mem_update() argument
3344 CHECK(check_sljit_emit_mem_update(compiler, type, reg, mem, memw)); in sljit_emit_mem_update()
3346 SLJIT_UNUSED_ARG(reg); in sljit_emit_mem_update()