Lines Matching refs:sljit_sw

371 	if ((sljit_sw)value >= 0) {  in resolve_const_pool_index()
383 curr_patch->index = (sljit_sw)value; in resolve_const_pool_index()
384 curr_patch->value = (sljit_sw)cpool_start_address[value]; in resolve_const_pool_index()
405 static SLJIT_INLINE sljit_s32 emit_imm(struct sljit_compiler *compiler, sljit_s32 reg, sljit_sw imm) in emit_imm()
413 …_jump_type(struct sljit_jump *jump, sljit_uw *code_ptr, sljit_uw *code, sljit_sw executable_offset) in detect_jump_type()
415 sljit_sw diff; in detect_jump_type()
425 diff = ((sljit_sw)jump->u.target - (sljit_sw)(code_ptr + 2) - executable_offset); in detect_jump_type()
428 diff = ((sljit_sw)(code + jump->u.label->size) - (sljit_sw)(code_ptr + 2)); in detect_jump_type()
450 diff = ((sljit_sw)jump->u.target - (sljit_sw)code_ptr - executable_offset); in detect_jump_type()
453 diff = ((sljit_sw)(code + jump->u.label->size) - (sljit_sw)code_ptr); in detect_jump_type()
470 static SLJIT_INLINE void inline_set_jump_addr(sljit_uw jump_ptr, sljit_sw executable_offset, sljit_… in inline_set_jump_addr()
477 sljit_sw diff = (sljit_sw)(((sljit_sw)new_addr - (sljit_sw)(inst + 2) - executable_offset) >> 2); in inline_set_jump_addr()
568 static SLJIT_INLINE void inline_set_const(sljit_uw addr, sljit_sw executable_offset, sljit_uw new_c… in inline_set_const()
670 sljit_sw executable_offset; in sljit_generate_code()
861 …SLJIT_ASSERT((sljit_sw)(jump->u.label->addr - addr) <= 0x01ffffff && (sljit_sw)(jump->u.label->add… in sljit_generate_code()
865 …SLJIT_ASSERT((sljit_sw)(jump->u.target - addr) <= 0x01ffffff && (sljit_sw)(jump->u.target - addr) … in sljit_generate_code()
1043 sljit_s32 dst, sljit_sw dstw,
1044 sljit_s32 src1, sljit_sw src1w,
1045 sljit_s32 src2, sljit_sw src2w);
1089 FAIL_IF(push_inst(compiler, SUB | RD(SLJIT_SP) | RN(SLJIT_SP) | SRC2_IMM | sizeof(sljit_sw))); in sljit_emit_enter()
1119 offset += sizeof(sljit_sw); in sljit_emit_enter()
1121 if (offset < 4 * sizeof(sljit_sw)) in sljit_emit_enter()
1122 …FAIL_IF(push_inst(compiler, VMOV2 | (offset << 10) | ((offset + sizeof(sljit_sw)) << 14) | float_a… in sljit_emit_enter()
1125 | (float_arg_count << 12) | ((offset + (sljit_uw)size - 4 * sizeof(sljit_sw)) >> 2))); in sljit_emit_enter()
1127 offset += sizeof(sljit_f64) - sizeof(sljit_sw); in sljit_emit_enter()
1130 if (offset < 4 * sizeof(sljit_sw)) in sljit_emit_enter()
1134 | (float_arg_count << 12) | ((offset + (sljit_uw)size - 4 * sizeof(sljit_sw)) >> 2))); in sljit_emit_enter()
1148 if (offset < 4 * sizeof(sljit_sw)) in sljit_emit_enter()
1152 | RN(SLJIT_SP) | RD(tmp) | (offset + (sljit_uw)size - 4 * sizeof(sljit_sw)))); in sljit_emit_enter()
1156 offset += sizeof(sljit_sw); in sljit_emit_enter()
1328 …mpiler, SUB | RD(SLJIT_SP) | RN(SLJIT_SP) | (1 << 25) | ((sljit_uw)frame_size - sizeof(sljit_sw))); in emit_stack_frame_release()
1674 sljit_s32 arg, sljit_sw argw, sljit_s32 tmp_reg) in emit_op_mem()
1770 sljit_s32 dst, sljit_sw dstw, in emit_op()
1771 sljit_s32 src1, sljit_sw src1w, in emit_op()
1772 sljit_s32 src2, sljit_sw src2w) in emit_op()
1931 sljit_sw saved_reg_count; in sljit_emit_op0()
2005 sljit_s32 dst, sljit_sw dstw, in sljit_emit_op1()
2006 sljit_s32 src, sljit_sw srcw) in sljit_emit_op1()
2044 sljit_s32 dst, sljit_sw dstw, in sljit_emit_op2()
2045 sljit_s32 src1, sljit_sw src1w, in sljit_emit_op2()
2046 sljit_s32 src2, sljit_sw src2w) in sljit_emit_op2()
2088 sljit_s32 src1, sljit_sw src1w, in sljit_emit_op2u()
2089 sljit_s32 src2, sljit_sw src2w) in sljit_emit_op2u()
2102 sljit_s32 src, sljit_sw srcw) in sljit_emit_op_src()
2165 …_mem(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg, sljit_s32 arg, sljit_sw argw) in emit_fop_mem()
2210 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop1_conv_sw_from_f64()
2211 sljit_s32 src, sljit_sw srcw) in sljit_emit_fop1_conv_sw_from_f64()
2230 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop1_conv_f64_from_sw()
2231 sljit_s32 src, sljit_sw srcw) in sljit_emit_fop1_conv_f64_from_sw()
2256 sljit_s32 src1, sljit_sw src1w, in sljit_emit_fop1_cmp()
2257 sljit_s32 src2, sljit_sw src2w) in sljit_emit_fop1_cmp()
2276 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop1()
2277 sljit_s32 src, sljit_sw srcw) in sljit_emit_fop1()
2323 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop2()
2324 sljit_s32 src1, sljit_sw src1w, in sljit_emit_fop2()
2325 sljit_s32 src2, sljit_sw src2w) in sljit_emit_fop2()
2380 …BUTE sljit_s32 sljit_emit_fast_enter(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw dstw) in sljit_emit_fast_enter()
2535 sljit_u32 src_offset = 4 * sizeof(sljit_sw); in softfloat_call_with_args()
2542 src_offset = (sljit_uw)reg_map[*src] * sizeof(sljit_sw); in softfloat_call_with_args()
2552 offset += sizeof(sljit_sw); in softfloat_call_with_args()
2564 offset += sizeof(sljit_sw); in softfloat_call_with_args()
2565 word_arg_offset += sizeof(sljit_sw); in softfloat_call_with_args()
2572 if (offset > 4 * sizeof(sljit_sw) && (!is_tail_call || offset > compiler->args_size)) { in softfloat_call_with_args()
2575 offset += sizeof(sljit_sw); in softfloat_call_with_args()
2577 offset = ((offset - 4 * sizeof(sljit_sw)) + 0x7) & ~(sljit_uw)0x7; in softfloat_call_with_args()
2600 if (offset < 4 * sizeof(sljit_sw)) { in softfloat_call_with_args()
2601 if (src_offset == offset || src_offset == offset + sizeof(sljit_sw)) { in softfloat_call_with_args()
2605 …FAIL_IF(push_inst(compiler, VMOV2 | 0x100000 | (offset << 10) | ((offset + sizeof(sljit_sw)) << 14… in softfloat_call_with_args()
2608 | (float_arg_count << 12) | ((offset - 4 * sizeof(sljit_sw)) >> 2))); in softfloat_call_with_args()
2614 if (offset < 4 * sizeof(sljit_sw)) { in softfloat_call_with_args()
2622 | (float_arg_count << 12) | ((offset - 4 * sizeof(sljit_sw)) >> 2))); in softfloat_call_with_args()
2625 word_arg_offset -= sizeof(sljit_sw); in softfloat_call_with_args()
2631 if (offset < 4 * sizeof(sljit_sw)) { in softfloat_call_with_args()
2642 …WORD_SIZE] | 0x800000 | RN(SLJIT_SP) | (word_arg_offset << 10) | (offset - 4 * sizeof(sljit_sw)))); in softfloat_call_with_args()
2738 TMP_REG2, SLJIT_SP, extra_space - sizeof(sljit_sw)))); in sljit_emit_call()
2768 …s32 sljit_emit_ijump(struct sljit_compiler *compiler, sljit_s32 type, sljit_s32 src, sljit_sw srcw) in sljit_emit_ijump()
2811 sljit_s32 src, sljit_sw srcw) in sljit_emit_icall()
2847 TMP_REG2, SLJIT_SP, extra_space - sizeof(sljit_sw)))); in sljit_emit_icall()
2875 sljit_s32 dst, sljit_sw dstw, in sljit_emit_op_flags()
2917 sljit_s32 src, sljit_sw srcw) in sljit_emit_cmov()
2954 sljit_s32 mem, sljit_sw memw) in sljit_emit_mem()
3057 …sljit_emit_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw dstw, sljit_sw init_valu… in sljit_emit_const()
3085 …ljit_put_label* sljit_emit_put_label(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw dstw) in sljit_emit_put_label()
3112 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw exec… in sljit_set_jump_addr()
3117 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw execut… in sljit_set_const()