Lines Matching refs:size

61 static sljit_u8* emit_x86_instruction(struct sljit_compiler *compiler, sljit_uw size,  in emit_x86_instruction()  argument
71 sljit_uw flags = size; in emit_x86_instruction()
88 size &= 0xf; in emit_x86_instruction()
90 inst_size = size + 1; in emit_x86_instruction()
147 SLJIT_ASSERT(size == 2); in emit_x86_instruction()
148 size++; in emit_x86_instruction()
201 buf_ptr = inst + size; in emit_x86_instruction()
295 sljit_uw size; in emit_vex_instruction() local
328 size = op & ~(sljit_uw)0xff; in emit_vex_instruction()
329 size |= (vex_m == 0) ? (EX86_VEX_EXT | 2) : 3; in emit_vex_instruction()
331 inst = emit_x86_instruction(compiler, size, a, 0, b, immb); in emit_vex_instruction()
408 addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code, executable_offset) + jump->u.label->size; in generate_mov_addr_code()
460 sljit_uw size; in sljit_emit_enter() local
488 size = reg_map[i] >= 8 ? 2 : 1; in sljit_emit_enter()
489 inst = (sljit_u8*)ensure_buf(compiler, 1 + size); in sljit_emit_enter()
491 INC_SIZE(size); in sljit_emit_enter()
498 size = reg_map[i] >= 8 ? 2 : 1; in sljit_emit_enter()
499 inst = (sljit_u8*)ensure_buf(compiler, 1 + size); in sljit_emit_enter()
501 INC_SIZE(size); in sljit_emit_enter()
663 sljit_uw size; in emit_stack_frame_release() local
706 size = reg_map[i] >= 8 ? 2 : 1; in emit_stack_frame_release()
707 inst = (sljit_u8*)ensure_buf(compiler, 1 + size); in emit_stack_frame_release()
709 INC_SIZE(size); in emit_stack_frame_release()
717 size = reg_map[i] >= 8 ? 2 : 1; in emit_stack_frame_release()
718 inst = (sljit_u8*)ensure_buf(compiler, 1 + size); in emit_stack_frame_release()
720 INC_SIZE(size); in emit_stack_frame_release()
1224 size1 = compiler->size; in sljit_emit_fop1_conv_f64_from_uw()
1235 size2 = compiler->size; in sljit_emit_fop1_conv_f64_from_uw()
1260 jump_inst2[1] = U8(compiler->size - size2); in sljit_emit_fop1_conv_f64_from_uw()
1271 sljit_u32 size; in sljit_emit_fset() local
1282 size = (rex != 0) ? 5 : 4; in sljit_emit_fset()
1284 inst = (sljit_u8*)ensure_buf(compiler, 1 + size); in sljit_emit_fset()
1286 INC_SIZE(size); in sljit_emit_fset()
1350 sljit_u32 size; in sljit_emit_fcopy() local
1365 size = (rex != 0) ? 5 : 4; in sljit_emit_fcopy()
1367 inst = (sljit_u8*)ensure_buf(compiler, 1 + size); in sljit_emit_fcopy()
1369 INC_SIZE(size); in sljit_emit_fcopy()
1383 sljit_s32 tmp, size; in skip_frames_before_return() local
1389 size = compiler->local_size; in skip_frames_before_return()
1392 size += (tmp - SLJIT_FIRST_SAVED_REG + 1) * SSIZE_OF(sw); in skip_frames_before_return()
1395 size += (SLJIT_S0 - tmp + 1) * SSIZE_OF(sw); in skip_frames_before_return()
1397 return adjust_shadow_stack(compiler, SLJIT_MEM1(SLJIT_SP), size); in skip_frames_before_return()