Lines Matching refs:SLJIT_SP

100 				b |= TO_OFFS_REG(SLJIT_SP);  in emit_x86_instruction()
175 if (!(b & OFFS_REG_MASK) || (b & OFFS_REG_MASK) == TO_OFFS_REG(SLJIT_SP)) { in emit_x86_instruction()
310 FAIL_IF(emit_sse2_load(compiler, 0, float_arg_count, SLJIT_MEM1(SLJIT_SP), args_size)); in sljit_emit_enter()
315 FAIL_IF(emit_sse2_load(compiler, 1, float_arg_count, SLJIT_MEM1(SLJIT_SP), args_size)); in sljit_emit_enter()
368 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_MEM1(SLJIT_SP), args_size + size); in sljit_emit_enter()
396 EMIT_MOV(compiler, word_arg_count, 0, SLJIT_MEM1(SLJIT_SP), args_size); in sljit_emit_enter()
399 EMIT_MOV(compiler, SLJIT_S0 - saved_arg_count, 0, SLJIT_MEM1(SLJIT_SP), args_size); in sljit_emit_enter()
416 BINARY_IMM32(OR, 0, SLJIT_MEM1(SLJIT_SP), -4096); in sljit_emit_enter()
419 BINARY_IMM32(OR, 0, SLJIT_MEM1(SLJIT_SP), -4096 * 2); in sljit_emit_enter()
421 BINARY_IMM32(OR, 0, SLJIT_MEM1(SLJIT_SP), -4096 * 3); in sljit_emit_enter()
438 BINARY_IMM32(OR, 0, SLJIT_MEM1(SLJIT_SP), -4096); in sljit_emit_enter()
439 BINARY_IMM32(SUB, 4096, SLJIT_SP, 0); in sljit_emit_enter()
452 BINARY_IMM32(OR, 0, SLJIT_MEM1(SLJIT_SP), -local_size); in sljit_emit_enter()
453 BINARY_IMM32(SUB, local_size, SLJIT_SP, 0); in sljit_emit_enter()
457 EMIT_MOV(compiler, SLJIT_R2, 0, SLJIT_MEM1(SLJIT_SP), r2_offset); in sljit_emit_enter()
463 BINARY_IMM32(SUB, local_size, SLJIT_SP, 0); in sljit_emit_enter()
471 EMIT_MOV(compiler, SLJIT_MEM1(SLJIT_SP), size, kept_saveds_count, 0); in sljit_emit_enter()
481 EMIT_MOV(compiler, SLJIT_MEM1(SLJIT_SP), size, TMP_REG1, 0); in sljit_emit_enter()
551 BINARY_IMM32(ADD, local_size, SLJIT_SP, 0); in emit_stack_frame_release()
574 BINARY_IMM32(ADD, sizeof(sljit_sw), SLJIT_SP, 0); in emit_stack_frame_release()
670 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_MEM1(SLJIT_SP), 2 * SSIZE_OF(sw)); in call_with_args()
676 BINARY_IMM32(SUB, stack_size, SLJIT_SP, 0); in call_with_args()
686 FAIL_IF(emit_sse2_store(compiler, 0, SLJIT_MEM1(SLJIT_SP), arg_offset, float_arg_count)); in call_with_args()
691 FAIL_IF(emit_sse2_store(compiler, 1, SLJIT_MEM1(SLJIT_SP), arg_offset, float_arg_count)); in call_with_args()
696 …EMIT_MOV(compiler, SLJIT_MEM1(SLJIT_SP), arg_offset, (word_arg_count >= 4) ? arg4_reg : word_arg_c… in call_with_args()
699 EMIT_MOV(compiler, SLJIT_R0, 0, SLJIT_MEM1(SLJIT_SP), 2 * SSIZE_OF(sw) + stack_size); in call_with_args()
718 BINARY_IMM32(ADD, stack_size, SLJIT_SP, 0); in post_call_with_args()
730 inst[2] = (0x04 << 3) | reg_map[SLJIT_SP]; in post_call_with_args()
732 return emit_sse2_load(compiler, single, SLJIT_FR0, SLJIT_MEM1(SLJIT_SP), 0); in post_call_with_args()
787 EMIT_MOV(compiler, SLJIT_MEM1(SLJIT_SP), 0, SLJIT_R0, 0); in tail_call_with_args()
797 FAIL_IF(emit_sse2_store(compiler, 0, SLJIT_MEM1(SLJIT_SP), offset, float_arg_count)); in tail_call_with_args()
802 FAIL_IF(emit_sse2_store(compiler, 0, SLJIT_MEM1(SLJIT_SP), offset, float_arg_count)); in tail_call_with_args()
810 EMIT_MOV(compiler, SLJIT_R2, 0, SLJIT_MEM1(SLJIT_SP), 0); in tail_call_with_args()
811 EMIT_MOV(compiler, SLJIT_MEM1(SLJIT_SP), offset, SLJIT_R2, 0); in tail_call_with_args()
813 EMIT_MOV(compiler, SLJIT_MEM1(SLJIT_SP), offset, SLJIT_R0, 0); in tail_call_with_args()
817 EMIT_MOV(compiler, SLJIT_MEM1(SLJIT_SP), offset, SLJIT_R1, 0); in tail_call_with_args()
824 EMIT_MOV(compiler, SLJIT_R2, 0, SLJIT_MEM1(SLJIT_SP), 2 * SSIZE_OF(sw)); in tail_call_with_args()
825 EMIT_MOV(compiler, SLJIT_MEM1(SLJIT_SP), offset, SLJIT_R2, 0); in tail_call_with_args()
853 BINARY_IMM32(SUB, stack_size - min_size, SLJIT_SP, 0); in tail_call_with_args()
854 if (src == SLJIT_MEM1(SLJIT_SP)) in tail_call_with_args()
862 EMIT_MOV(compiler, SLJIT_MEM1(SLJIT_SP), r2_offset, SLJIT_R2, 0); in tail_call_with_args()
865 EMIT_MOV(compiler, SLJIT_R2, 0, SLJIT_MEM1(SLJIT_SP), word_arg4_offset); in tail_call_with_args()
871 EMIT_MOV(compiler, SLJIT_MEM1(SLJIT_SP), 0, SLJIT_R0, 0); in tail_call_with_args()
878 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_MEM1(SLJIT_SP), offset); in tail_call_with_args()
882 EMIT_MOV(compiler, SLJIT_S2, 0, SLJIT_MEM1(SLJIT_SP), offset); in tail_call_with_args()
886 EMIT_MOV(compiler, SLJIT_S1, 0, SLJIT_MEM1(SLJIT_SP), offset); in tail_call_with_args()
890 EMIT_MOV(compiler, SLJIT_S0, 0, SLJIT_MEM1(SLJIT_SP), offset); in tail_call_with_args()
899 EMIT_MOV(compiler, SLJIT_MEM1(SLJIT_SP), offset, SLJIT_R2, 0); in tail_call_with_args()
906 FAIL_IF(emit_sse2_store(compiler, 0, SLJIT_MEM1(SLJIT_SP), offset, float_arg_count)); in tail_call_with_args()
911 FAIL_IF(emit_sse2_store(compiler, 0, SLJIT_MEM1(SLJIT_SP), offset, float_arg_count)); in tail_call_with_args()
919 EMIT_MOV(compiler, SLJIT_R2, 0, SLJIT_MEM1(SLJIT_SP), 0); in tail_call_with_args()
920 EMIT_MOV(compiler, SLJIT_MEM1(SLJIT_SP), offset, SLJIT_R2, 0); in tail_call_with_args()
922 EMIT_MOV(compiler, SLJIT_MEM1(SLJIT_SP), offset, SLJIT_R0, 0); in tail_call_with_args()
926 EMIT_MOV(compiler, SLJIT_MEM1(SLJIT_SP), offset, SLJIT_R1, 0); in tail_call_with_args()
930 EMIT_MOV(compiler, SLJIT_R2, 0, SLJIT_MEM1(SLJIT_SP), r2_offset); in tail_call_with_args()
931 EMIT_MOV(compiler, SLJIT_MEM1(SLJIT_SP), offset, SLJIT_R2, 0); in tail_call_with_args()
945 BINARY_IMM32(ADD, offset, SLJIT_SP, 0); in tail_call_with_args()
954 BINARY_IMM32(ADD, extra_space, SLJIT_SP, 0); in emit_tail_call_end()
981 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_MEM1(SLJIT_SP), 2 * SSIZE_OF(sw)); in tail_call_reg_arg_with_args()
993 return emit_mov(compiler, SLJIT_MEM1(SLJIT_SP), offset, TMP_REG1, 0); in tail_call_reg_arg_with_args()
1109 if (stack_size > 0 && src == SLJIT_MEM1(SLJIT_SP)) in sljit_emit_icall()
1131 FAIL_IF(emit_sse2_store(compiler, op & SLJIT_32, SLJIT_MEM1(SLJIT_SP), 0, src)); in emit_fmov_before_return()
1133 src = SLJIT_MEM1(SLJIT_SP); in emit_fmov_before_return()
1253 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_MEM1(SLJIT_SP), offset); in sljit_emit_mem()
1276 EMIT_MOV(compiler, SLJIT_MEM1(SLJIT_SP), offset, TMP_REG1, 0); in sljit_emit_mem()
1297 return adjust_shadow_stack(compiler, SLJIT_MEM1(SLJIT_SP), size); in skip_frames_before_return()