Lines Matching refs:local_size

1212 	sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size)  in sljit_emit_enter()  argument
1219 …ljit_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size)); in sljit_emit_enter()
1220 set_emit_enter(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_emit_enter()
1225 local_size = (local_size + saved_regs_size + 0xf) & ~0xf; in sljit_emit_enter()
1226 compiler->local_size = local_size; in sljit_emit_enter()
1228 if (local_size <= 512) { in sljit_emit_enter()
1230 | RN(SLJIT_SP) | (sljit_ins)((-(local_size >> 3) & 0x7f) << 15))); in sljit_emit_enter()
1231 offs = (sljit_ins)(local_size - 2 * SSIZE_OF(sw)) << (15 - 3); in sljit_emit_enter()
1232 local_size = 0; in sljit_emit_enter()
1238 local_size -= saved_regs_size; in sljit_emit_enter()
1239 SLJIT_ASSERT(local_size > 0); in sljit_emit_enter()
1296 if (local_size > 4096) in sljit_emit_enter()
1318 if (local_size > 4096) { in sljit_emit_enter()
1319 if (local_size < 4 * 4096) { in sljit_emit_enter()
1322 if (local_size >= 2 * 4096) { in sljit_emit_enter()
1323 if (local_size >= 3 * 4096) { in sljit_emit_enter()
1333 FAIL_IF(push_inst(compiler, MOVZ | RD(TMP_REG1) | ((((sljit_ins)local_size >> 12) - 1) << 5))); in sljit_emit_enter()
1340 local_size &= 0xfff; in sljit_emit_enter()
1342 if (local_size > 0) in sljit_emit_enter()
1348 if (local_size > 0) { in sljit_emit_enter()
1349 if (local_size <= 512) in sljit_emit_enter()
1351 | RN(SLJIT_SP) | (sljit_ins)((-(local_size >> 3) & 0x7f) << 15))); in sljit_emit_enter()
1353 if (local_size >= 4096) in sljit_emit_enter()
1354 local_size = (1 << (22 - 10)); in sljit_emit_enter()
1356 FAIL_IF(push_inst(compiler, SUBI | RD(SLJIT_SP) | RN(SLJIT_SP) | ((sljit_ins)local_size << 10))); in sljit_emit_enter()
1364 if (local_size != 0) { in sljit_emit_enter()
1365 if (local_size > 0xfff) { in sljit_emit_enter()
1366 …FAIL_IF(push_inst(compiler, SUBI | RD(SLJIT_SP) | RN(SLJIT_SP) | (((sljit_ins)local_size >> 12) <<… in sljit_emit_enter()
1367 local_size &= 0xfff; in sljit_emit_enter()
1370 if (local_size > 512 || local_size == 0) { in sljit_emit_enter()
1371 if (local_size != 0) in sljit_emit_enter()
1372 … FAIL_IF(push_inst(compiler, SUBI | RD(SLJIT_SP) | RN(SLJIT_SP) | ((sljit_ins)local_size << 10))); in sljit_emit_enter()
1377 | RN(SLJIT_SP) | (sljit_ins)((-(local_size >> 3) & 0x7f) << 15))); in sljit_emit_enter()
1387 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_set_context() argument
1392 …jit_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size)); in sljit_set_context()
1393 set_set_context(compiler, options, arg_types, scratches, saveds, fscratches, fsaveds, local_size); in sljit_set_context()
1398 compiler->local_size = (local_size + saved_regs_size + 0xf) & ~0xf; in sljit_set_context()
1404 sljit_s32 local_size, prev, fprev, i, tmp; in emit_stack_frame_release() local
1407 local_size = compiler->local_size; in emit_stack_frame_release()
1410 if (local_size > 512 && local_size <= 512 + 496) { in emit_stack_frame_release()
1412 | RN(SLJIT_SP) | ((sljit_ins)(local_size - 512) << (15 - 3)))); in emit_stack_frame_release()
1413 local_size = 512; in emit_stack_frame_release()
1417 if (local_size > 512 && local_size <= 512 + 248) { in emit_stack_frame_release()
1418 …FAIL_IF(push_inst(compiler, LDRI_POST | RT(TMP_FP) | RN(SLJIT_SP) | ((sljit_ins)(local_size - 512)… in emit_stack_frame_release()
1419 local_size = 512; in emit_stack_frame_release()
1424 if (local_size > 512) { in emit_stack_frame_release()
1425 local_size -= 512; in emit_stack_frame_release()
1426 if (local_size > 0xfff) { in emit_stack_frame_release()
1428 | (((sljit_ins)local_size >> 12) << 10) | (1 << 22))); in emit_stack_frame_release()
1429 local_size &= 0xfff; in emit_stack_frame_release()
1432 FAIL_IF(push_inst(compiler, ADDI | RD(SLJIT_SP) | RN(SLJIT_SP) | ((sljit_ins)local_size << 10))); in emit_stack_frame_release()
1433 local_size = 512; in emit_stack_frame_release()
1436 offs = (sljit_ins)(local_size - 2 * SSIZE_OF(sw)) << (15 - 3); in emit_stack_frame_release()
1490 return push_inst(compiler, ADDI | RD(SLJIT_SP) | RN(SLJIT_SP) | (sljit_ins)(local_size << 10)); in emit_stack_frame_release()