Lines Matching refs:sljit_sw

59 #define NEGATE(uimm) ((sljit_uw)-(sljit_sw)(uimm))
250 …ump_type(struct sljit_jump *jump, sljit_u16 *code_ptr, sljit_u16 *code, sljit_sw executable_offset) in detect_jump_type()
252 sljit_sw diff; in detect_jump_type()
261 diff = ((sljit_sw)jump->u.target - (sljit_sw)(code_ptr + 2) - executable_offset) >> 1; in detect_jump_type()
265 diff = ((sljit_sw)(code + jump->u.label->size) - (sljit_sw)(code_ptr + 2)) >> 1; in detect_jump_type()
305 static SLJIT_INLINE void set_jump_instruction(struct sljit_jump *jump, sljit_sw executable_offset) in set_jump_instruction()
308 sljit_sw diff; in set_jump_instruction()
319 …diff = ((sljit_sw)jump->u.target - (sljit_sw)(jump->addr + sizeof(sljit_u32)) - executable_offset)… in set_jump_instruction()
323 …diff = ((sljit_sw)(jump->u.label->addr) - (sljit_sw)(jump->addr + sizeof(sljit_u32)) - executable_… in set_jump_instruction()
379 sljit_sw executable_offset; in sljit_generate_code()
454 SLJIT_ASSERT(code_ptr - code <= (sljit_sw)compiler->size); in sljit_generate_code()
967 …t_s32 emit_set_delta(struct sljit_compiler *compiler, sljit_s32 dst, sljit_s32 reg, sljit_sw value) in emit_set_delta()
990 sljit_s32 arg, sljit_sw argw, sljit_s32 tmp_reg) in emit_op_mem()
1117 FAIL_IF(push_inst16(compiler, SUB_SP_I | (sizeof(sljit_sw) >> 2))); in sljit_emit_enter()
1147 offset += sizeof(sljit_sw); in sljit_emit_enter()
1149 if (offset < 4 * sizeof(sljit_sw)) in sljit_emit_enter()
1150 …FAIL_IF(push_inst32(compiler, VMOV2 | (offset << 10) | ((offset + sizeof(sljit_sw)) << 14) | float… in sljit_emit_enter()
1153 | (float_arg_count << 12) | ((offset + (sljit_uw)size - 4 * sizeof(sljit_sw)) >> 2))); in sljit_emit_enter()
1155 offset += sizeof(sljit_f64) - sizeof(sljit_sw); in sljit_emit_enter()
1158 if (offset < 4 * sizeof(sljit_sw)) in sljit_emit_enter()
1162 | (float_arg_count << 12) | ((offset + (sljit_uw)size - 4 * sizeof(sljit_sw)) >> 2))); in sljit_emit_enter()
1178 if (offset < 4 * sizeof(sljit_sw)) in sljit_emit_enter()
1182 | ((offset + (sljit_uw)size - 4 * sizeof(sljit_sw)) >> 2))); in sljit_emit_enter()
1186 offset += sizeof(sljit_sw); in sljit_emit_enter()
1424 return push_inst16(compiler, SUB_SP_I | (((sljit_uw)frame_size - sizeof(sljit_sw)) >> 2)); in emit_stack_frame_release()
1557 sljit_s32 dst, sljit_sw dstw, in sljit_emit_op1()
1558 sljit_s32 src, sljit_sw srcw) in sljit_emit_op1()
1637 sljit_s32 dst, sljit_sw dstw, in sljit_emit_op2()
1638 sljit_s32 src1, sljit_sw src1w, in sljit_emit_op2()
1639 sljit_s32 src2, sljit_sw src2w) in sljit_emit_op2()
1682 sljit_s32 src1, sljit_sw src1w, in sljit_emit_op2u()
1683 sljit_s32 src2, sljit_sw src2w) in sljit_emit_op2u()
1696 sljit_s32 src, sljit_sw srcw) in sljit_emit_op_src()
1753 …_mem(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg, sljit_s32 arg, sljit_sw argw) in emit_fop_mem()
1801 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop1_conv_sw_from_f64()
1802 sljit_s32 src, sljit_sw srcw) in sljit_emit_fop1_conv_sw_from_f64()
1821 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop1_conv_f64_from_sw()
1822 sljit_s32 src, sljit_sw srcw) in sljit_emit_fop1_conv_f64_from_sw()
1847 sljit_s32 src1, sljit_sw src1w, in sljit_emit_fop1_cmp()
1848 sljit_s32 src2, sljit_sw src2w) in sljit_emit_fop1_cmp()
1867 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop1()
1868 sljit_s32 src, sljit_sw srcw) in sljit_emit_fop1()
1914 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop2()
1915 sljit_s32 src1, sljit_sw src1w, in sljit_emit_fop2()
1916 sljit_s32 src2, sljit_sw src2w) in sljit_emit_fop2()
1964 …BUTE sljit_s32 sljit_emit_fast_enter(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw dstw) in sljit_emit_fast_enter()
2111 sljit_u32 src_offset = 4 * sizeof(sljit_sw); in softfloat_call_with_args()
2116 src_offset = (sljit_u32)reg_map[*src] * sizeof(sljit_sw); in softfloat_call_with_args()
2126 offset += sizeof(sljit_sw); in softfloat_call_with_args()
2138 offset += sizeof(sljit_sw); in softfloat_call_with_args()
2139 word_arg_offset += sizeof(sljit_sw); in softfloat_call_with_args()
2146 if (offset > 4 * sizeof(sljit_sw) && (!is_tail_call || offset > compiler->args_size)) { in softfloat_call_with_args()
2149 offset += sizeof(sljit_sw); in softfloat_call_with_args()
2151 offset = ((offset - 4 * sizeof(sljit_sw)) + 0x7) & ~(sljit_uw)0x7; in softfloat_call_with_args()
2176 if (offset < 4 * sizeof(sljit_sw)) { in softfloat_call_with_args()
2177 if (src_offset == offset || src_offset == offset + sizeof(sljit_sw)) { in softfloat_call_with_args()
2181 …FAIL_IF(push_inst32(compiler, VMOV2 | 0x100000 | (offset << 10) | ((offset + sizeof(sljit_sw)) << … in softfloat_call_with_args()
2184 | (float_arg_count << 12) | ((offset - 4 * sizeof(sljit_sw)) >> 2))); in softfloat_call_with_args()
2190 if (offset < 4 * sizeof(sljit_sw)) { in softfloat_call_with_args()
2198 | (float_arg_count << 12) | ((offset - 4 * sizeof(sljit_sw)) >> 2))); in softfloat_call_with_args()
2201 word_arg_offset -= sizeof(sljit_sw); in softfloat_call_with_args()
2207 if (offset < 4 * sizeof(sljit_sw)) { in softfloat_call_with_args()
2218 …FAIL_IF(push_inst16(compiler, STR_SP | (word_arg_offset << 6) | ((offset - 4 * sizeof(sljit_sw)) >… in softfloat_call_with_args()
2309 | RN4(SLJIT_SP) | (extra_space - sizeof(sljit_sw)))); in sljit_emit_call()
2340 …s32 sljit_emit_ijump(struct sljit_compiler *compiler, sljit_s32 type, sljit_s32 src, sljit_sw srcw) in sljit_emit_ijump()
2374 sljit_s32 src, sljit_sw srcw) in sljit_emit_icall()
2410 | RN4(SLJIT_SP) | (extra_space - sizeof(sljit_sw)))); in sljit_emit_icall()
2439 sljit_s32 dst, sljit_sw dstw, in sljit_emit_op_flags()
2493 sljit_s32 src, sljit_sw srcw) in sljit_emit_cmov()
2541 sljit_s32 mem, sljit_sw memw) in sljit_emit_mem()
2597 …sljit_emit_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw dstw, sljit_sw init_valu… in sljit_emit_const()
2618 …ljit_put_label* sljit_emit_put_label(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw dstw) in sljit_emit_put_label()
2639 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw exec… in sljit_set_jump_addr()
2651 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw execut… in sljit_set_const()