Lines Matching refs:sljit_s32

33 static sljit_s32 emit_load_imm64(struct sljit_compiler *compiler, sljit_s32 reg, sljit_sw imm)  in emit_load_imm64()
46 static sljit_s32 emit_do_imm32(struct sljit_compiler *compiler, sljit_u8 rex, sljit_u8 opcode, slji… in emit_do_imm32()
49 sljit_uw length = (rex ? 2 : 1) + sizeof(sljit_s32); in emit_do_imm32()
57 sljit_unaligned_store_s32(inst, (sljit_s32)imm); in emit_do_imm32()
63 sljit_s32 a, sljit_sw imma, in emit_x86_instruction()
65 sljit_s32 b, sljit_sw immb) in emit_x86_instruction()
112 inst_size += 1 + sizeof(sljit_s32); /* SIB byte required to avoid RIP based addressing. */ in emit_x86_instruction()
119 inst_size += sizeof(sljit_s32); in emit_x86_instruction()
170 inst_size += sizeof(sljit_s32); in emit_x86_instruction()
251 sljit_unaligned_store_s32(buf_ptr, (sljit_s32)immb); /* 32 bit displacement. */ in emit_x86_instruction()
252 buf_ptr += sizeof(sljit_s32); in emit_x86_instruction()
270 sljit_unaligned_store_s32(buf_ptr, (sljit_s32)immb); /* 32 bit displacement. */ in emit_x86_instruction()
271 buf_ptr += sizeof(sljit_s32); in emit_x86_instruction()
280 sljit_unaligned_store_s32(buf_ptr, (sljit_s32)imma); in emit_x86_instruction()
286 static sljit_s32 emit_vex_instruction(struct sljit_compiler *compiler, sljit_uw op, in emit_vex_instruction()
288 sljit_s32 a, sljit_s32 v, in emit_vex_instruction()
290 sljit_s32 b, sljit_sw immb) in emit_vex_instruction()
385 sljit_unaligned_store_s32(code_ptr, (sljit_s32)jump->u.target); in detect_far_jump_type()
389 code_ptr += short_addr ? sizeof(sljit_s32) : sizeof(sljit_sw); in detect_far_jump_type()
440 code_ptr += 2 + sizeof(sljit_s32); in generate_mov_addr_code()
444 code_ptr += 1 + sizeof(sljit_s32); in generate_mov_addr_code()
456 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter(struct sljit_compiler *compiler, in sljit_emit_enter()
457 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_emit_enter()
458 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_emit_enter()
461 sljit_s32 word_arg_count = 0; in sljit_emit_enter()
462 sljit_s32 saved_arg_count = SLJIT_KEPT_SAVEDS_COUNT(options); in sljit_emit_enter()
463 sljit_s32 saved_regs_size, tmp, i; in sljit_emit_enter()
465 sljit_s32 saved_float_regs_size; in sljit_emit_enter()
466 sljit_s32 saved_float_regs_offset = 0; in sljit_emit_enter()
467 sljit_s32 float_arg_count = 0; in sljit_emit_enter()
632 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_set_context(struct sljit_compiler *compiler, in sljit_set_context()
633 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_set_context()
634 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_set_context()
636 sljit_s32 saved_regs_size; in sljit_set_context()
638 sljit_s32 saved_float_regs_size; in sljit_set_context()
661 static sljit_s32 emit_stack_frame_release(struct sljit_compiler *compiler, sljit_s32 is_return_to) in emit_stack_frame_release()
664 sljit_s32 local_size, i, tmp; in emit_stack_frame_release()
667 sljit_s32 saved_float_regs_offset; in emit_stack_frame_release()
668 sljit_s32 fscratches = compiler->fscratches; in emit_stack_frame_release()
669 sljit_s32 fsaveds = compiler->fsaveds; in emit_stack_frame_release()
732 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_return_void(struct sljit_compiler *compiler) in sljit_emit_return_void()
743 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_return_to(struct sljit_compiler *compiler, in sljit_emit_return_to()
744 sljit_s32 src, sljit_sw srcw) in sljit_emit_return_to()
771 static sljit_s32 call_with_args(struct sljit_compiler *compiler, sljit_s32 arg_types, sljit_s32 *sr… in call_with_args()
773 sljit_s32 src = src_ptr ? (*src_ptr) : 0; in call_with_args()
774 sljit_s32 word_arg_count = 0; in call_with_args()
802 static sljit_s32 call_with_args(struct sljit_compiler *compiler, sljit_s32 arg_types, sljit_s32 *sr… in call_with_args()
804 sljit_s32 src = src_ptr ? (*src_ptr) : 0; in call_with_args()
805 sljit_s32 arg_count = 0; in call_with_args()
806 sljit_s32 word_arg_count = 0; in call_with_args()
807 sljit_s32 float_arg_count = 0; in call_with_args()
808 sljit_s32 types = 0; in call_with_args()
809 sljit_s32 data_trandfer = 0; in call_with_args()
880 …_FUNC_ATTRIBUTE struct sljit_jump* sljit_emit_call(struct sljit_compiler *compiler, sljit_s32 type, in sljit_emit_call()
881 sljit_s32 arg_types) in sljit_emit_call()
900 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_icall(struct sljit_compiler *compiler, sljit_s32 type, in sljit_emit_icall()
901 sljit_s32 arg_types, in sljit_emit_icall()
902 sljit_s32 src, sljit_sw srcw) in sljit_emit_icall()
934 static sljit_s32 emit_fast_enter(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw dstw) in emit_fast_enter()
958 static sljit_s32 emit_fast_return(struct sljit_compiler *compiler, sljit_s32 src, sljit_sw srcw) in emit_fast_return()
996 static sljit_s32 sljit_emit_get_return_address(struct sljit_compiler *compiler, in sljit_emit_get_return_address()
997 sljit_s32 dst, sljit_sw dstw) in sljit_emit_get_return_address()
999 sljit_s32 saved_regs_size; in sljit_emit_get_return_address()
1010 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_select(struct sljit_compiler *compiler, sljit_s32 typ… in sljit_emit_select()
1011 sljit_s32 dst_reg, in sljit_emit_select()
1012 sljit_s32 src1, sljit_sw src1w, in sljit_emit_select()
1013 sljit_s32 src2_reg) in sljit_emit_select()
1050 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_mem(struct sljit_compiler *compiler, sljit_s32 type, in sljit_emit_mem()
1051 sljit_s32 reg, in sljit_emit_mem()
1052 sljit_s32 mem, sljit_sw memw) in sljit_emit_mem()
1055 sljit_s32 i, next, reg_idx; in sljit_emit_mem()
1130 static sljit_s32 emit_mov_int(struct sljit_compiler *compiler, sljit_s32 sign, in emit_mov_int()
1131 sljit_s32 dst, sljit_sw dstw, in emit_mov_int()
1132 sljit_s32 src, sljit_sw srcw) in emit_mov_int()
1135 sljit_s32 dst_r; in emit_mov_int()
1144 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, (sljit_sw)(sljit_s32)srcw, dst, dstw); in emit_mov_int()
1150 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, (sljit_sw)(sljit_s32)srcw, dst, dstw); in emit_mov_int()
1184 static SLJIT_INLINE sljit_s32 sljit_emit_fop1_conv_f64_from_uw(struct sljit_compiler *compiler, slj… in sljit_emit_fop1_conv_f64_from_uw()
1185 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop1_conv_f64_from_uw()
1186 sljit_s32 src, sljit_sw srcw) in sljit_emit_fop1_conv_f64_from_uw()
1188 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG; in sljit_emit_fop1_conv_f64_from_uw()
1267 static sljit_s32 sljit_emit_fset(struct sljit_compiler *compiler, in sljit_emit_fset()
1268 sljit_s32 freg, sljit_u8 rex, sljit_s32 is_zero) in sljit_emit_fset()
1304 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fset32(struct sljit_compiler *compiler, in sljit_emit_fset32()
1305 sljit_s32 freg, sljit_f32 value) in sljit_emit_fset32()
1308 sljit_s32 imm; in sljit_emit_fset32()
1325 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fset64(struct sljit_compiler *compiler, in sljit_emit_fset64()
1326 sljit_s32 freg, sljit_f64 value) in sljit_emit_fset64()
1346 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fcopy(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_fcopy()
1347 sljit_s32 freg, sljit_s32 reg) in sljit_emit_fcopy()
1381 static sljit_s32 skip_frames_before_return(struct sljit_compiler *compiler) in skip_frames_before_return()
1383 sljit_s32 tmp, size; in skip_frames_before_return()