| /netbsd/src/sys/external/bsd/sljit/dist/sljit_src/ |
| D | sljitNativeX86_32.c | 70 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_emit_enter() argument 76 …eck_sljit_emit_enter(compiler, options, args, scratches, saveds, fscratches, fsaveds, local_size)); in sljit_emit_enter() 77 … set_emit_enter(compiler, options, args, scratches, saveds, fscratches, fsaveds, local_size); in sljit_emit_enter() 165 local_size = ((SLJIT_LOCALS_OFFSET + saveds + local_size + 15) & ~15) - saveds; in sljit_emit_enter() 168 …local_size = SLJIT_LOCALS_OFFSET + ((local_size + sizeof(sljit_f64) - 1) & ~(sizeof(sljit_f64) - 1… in sljit_emit_enter() 170 …local_size = SLJIT_LOCALS_OFFSET + ((local_size + sizeof(sljit_sw) - 1) & ~(sizeof(sljit_sw) - 1)); in sljit_emit_enter() 173 compiler->local_size = local_size; in sljit_emit_enter() 176 if (local_size > 1024) { in sljit_emit_enter() 178 FAIL_IF(emit_do_imm(compiler, MOV_r_i32 + reg_map[SLJIT_R0], local_size)); in sljit_emit_enter() 181 local_size -= sizeof(sljit_sw); in sljit_emit_enter() [all …]
|
| D | sljitNativeX86_64.c | 72 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_emit_enter() argument 78 …eck_sljit_emit_enter(compiler, options, args, scratches, saveds, fscratches, fsaveds, local_size)); in sljit_emit_enter() 79 … set_emit_enter(compiler, options, args, scratches, saveds, fscratches, fsaveds, local_size); in sljit_emit_enter() 155 …local_size = ((local_size + SLJIT_LOCALS_OFFSET + saved_register_size + 15) & ~15) - saved_registe… in sljit_emit_enter() 156 compiler->local_size = local_size; in sljit_emit_enter() 159 if (local_size > 1024) { in sljit_emit_enter() 172 local_size -= 5 * sizeof(sljit_sw); in sljit_emit_enter() 175 local_size -= 4 * sizeof(sljit_sw); in sljit_emit_enter() 182 sljit_unaligned_store_s32(inst, local_size); in sljit_emit_enter() 191 if (local_size > 0) { in sljit_emit_enter() [all …]
|
| D | sljitNativeARM_64.c | 1069 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_emit_enter() argument 1074 …eck_sljit_emit_enter(compiler, options, args, scratches, saveds, fscratches, fsaveds, local_size)); in sljit_emit_enter() 1075 … set_emit_enter(compiler, options, args, scratches, saveds, fscratches, fsaveds, local_size); in sljit_emit_enter() 1078 local_size += saved_regs_size + SLJIT_LOCALS_OFFSET; in sljit_emit_enter() 1079 local_size = (local_size + 15) & ~0xf; in sljit_emit_enter() 1080 compiler->local_size = local_size; in sljit_emit_enter() 1082 SLJIT_ASSERT(local_size >= 0); in sljit_emit_enter() 1083 if ((size_t)local_size <= (63 * sizeof(sljit_sw))) { in sljit_emit_enter() 1085 | RN(TMP_SP) | ((-(local_size >> 3) & 0x7f) << 15))); in sljit_emit_enter() 1087 offs = (local_size - saved_regs_size) << (15 - 3); in sljit_emit_enter() [all …]
|
| D | sljitNativeMIPS_common.c | 545 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_emit_enter() argument 551 …eck_sljit_emit_enter(compiler, options, args, scratches, saveds, fscratches, fsaveds, local_size)); in sljit_emit_enter() 552 … set_emit_enter(compiler, options, args, scratches, saveds, fscratches, fsaveds, local_size); in sljit_emit_enter() 554 local_size += GET_SAVED_REGISTERS_SIZE(scratches, saveds, 1) + SLJIT_LOCALS_OFFSET; in sljit_emit_enter() 556 local_size = (local_size + 15) & ~0xf; in sljit_emit_enter() 558 local_size = (local_size + 31) & ~0x1f; in sljit_emit_enter() 560 compiler->local_size = local_size; in sljit_emit_enter() 562 if (local_size <= SIMM_MAX) { in sljit_emit_enter() 564 …FAIL_IF(push_inst(compiler, ADDIU_W | S(SLJIT_SP) | T(SLJIT_SP) | IMM(-local_size), DR(SLJIT_SP))); in sljit_emit_enter() 568 FAIL_IF(load_immediate(compiler, DR(TMP_REG1), local_size)); in sljit_emit_enter() [all …]
|
| D | sljitNativeTILEGX_64.c | 1179 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_emit_enter() argument 1185 …eck_sljit_emit_enter(compiler, options, args, scratches, saveds, fscratches, fsaveds, local_size)); in sljit_emit_enter() 1186 … set_emit_enter(compiler, options, args, scratches, saveds, fscratches, fsaveds, local_size); in sljit_emit_enter() 1188 local_size += GET_SAVED_REGISTERS_SIZE(scratches, saveds, 1); in sljit_emit_enter() 1189 local_size = (local_size + 7) & ~7; in sljit_emit_enter() 1190 compiler->local_size = local_size; in sljit_emit_enter() 1192 if (local_size <= SIMM_16BIT_MAX) { in sljit_emit_enter() 1194 FAIL_IF(ADDLI(SLJIT_LOCALS_REG_mapped, SLJIT_LOCALS_REG_mapped, -local_size)); in sljit_emit_enter() 1197 FAIL_IF(load_immediate(compiler, TMP_REG1_mapped, local_size)); in sljit_emit_enter() 1201 local_size = 0; in sljit_emit_enter() [all …]
|
| D | sljitLir.c | 404 compiler->local_size = -1; in sljit_create_compiler() 600 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in set_emit_enter() argument 603 SLJIT_UNUSED_ARG(local_size); in set_emit_enter() 611 compiler->logical_local_size = local_size; in set_emit_enter() 617 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in set_set_context() argument 620 SLJIT_UNUSED_ARG(local_size); in set_set_context() 628 compiler->logical_local_size = local_size; in set_set_context() 905 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in check_sljit_emit_enter() argument 919 CHECK_ARGUMENT(local_size >= 0 && local_size <= SLJIT_MAX_LOCAL_SIZE); in check_sljit_emit_enter() 925 args, scratches, saveds, fscratches, fsaveds, local_size); in check_sljit_emit_enter() [all …]
|
| D | sljitNativeARM_T2_32.c | 1045 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_emit_enter() argument 1051 …eck_sljit_emit_enter(compiler, options, args, scratches, saveds, fscratches, fsaveds, local_size)); in sljit_emit_enter() 1052 … set_emit_enter(compiler, options, args, scratches, saveds, fscratches, fsaveds, local_size); in sljit_emit_enter() 1067 local_size = ((size + local_size + 7) & ~7) - size; in sljit_emit_enter() 1068 compiler->local_size = local_size; in sljit_emit_enter() 1069 if (local_size > 0) { in sljit_emit_enter() 1070 if (local_size <= (127 << 2)) in sljit_emit_enter() 1071 FAIL_IF(push_inst16(compiler, SUB_SP | (local_size >> 2))); in sljit_emit_enter() 1073 … FAIL_IF(emit_op_imm(compiler, SLJIT_SUB | ARG2_IMM, SLJIT_SP, SLJIT_SP, local_size)); in sljit_emit_enter() 1088 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_set_context() argument [all …]
|
| D | sljitNativePPC_common.c | 597 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_emit_enter() argument 602 …eck_sljit_emit_enter(compiler, options, args, scratches, saveds, fscratches, fsaveds, local_size)); in sljit_emit_enter() 603 … set_emit_enter(compiler, options, args, scratches, saveds, fscratches, fsaveds, local_size); in sljit_emit_enter() 636 local_size += GET_SAVED_REGISTERS_SIZE(scratches, saveds, 1) + SLJIT_LOCALS_OFFSET; in sljit_emit_enter() 637 local_size = (local_size + 15) & ~0xf; in sljit_emit_enter() 638 compiler->local_size = local_size; in sljit_emit_enter() 641 if (local_size <= SIMM_MAX) in sljit_emit_enter() 642 … FAIL_IF(push_inst(compiler, STWU | S(SLJIT_SP) | A(SLJIT_SP) | IMM(-local_size))); in sljit_emit_enter() 644 FAIL_IF(load_immediate(compiler, 0, -local_size)); in sljit_emit_enter() 648 if (local_size <= SIMM_MAX) in sljit_emit_enter() [all …]
|
| D | sljitNativeSPARC_common.c | 440 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_emit_enter() argument 443 …eck_sljit_emit_enter(compiler, options, args, scratches, saveds, fscratches, fsaveds, local_size)); in sljit_emit_enter() 444 … set_emit_enter(compiler, options, args, scratches, saveds, fscratches, fsaveds, local_size); in sljit_emit_enter() 446 local_size = (local_size + SLJIT_LOCALS_OFFSET + 7) & ~0x7; in sljit_emit_enter() 447 compiler->local_size = local_size; in sljit_emit_enter() 449 if (local_size <= SIMM_MAX) { in sljit_emit_enter() 450 … FAIL_IF(push_inst(compiler, SAVE | D(SLJIT_SP) | S1(SLJIT_SP) | IMM(-local_size), UNMOVABLE_INS)); in sljit_emit_enter() 453 FAIL_IF(load_immediate(compiler, TMP_REG1, -local_size)); in sljit_emit_enter() 464 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_set_context() argument 467 …ck_sljit_set_context(compiler, options, args, scratches, saveds, fscratches, fsaveds, local_size)); in sljit_set_context() [all …]
|
| D | sljitNativeARM_32.c | 882 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_emit_enter() argument 888 …eck_sljit_emit_enter(compiler, options, args, scratches, saveds, fscratches, fsaveds, local_size)); in sljit_emit_enter() 889 … set_emit_enter(compiler, options, args, scratches, saveds, fscratches, fsaveds, local_size); in sljit_emit_enter() 906 local_size = ((size + local_size + 7) & ~7) - size; in sljit_emit_enter() 907 compiler->local_size = local_size; in sljit_emit_enter() 908 if (local_size > 0) in sljit_emit_enter() 909 … FAIL_IF(emit_op(compiler, SLJIT_SUB, ALLOW_IMM, SLJIT_SP, 0, SLJIT_SP, 0, SLJIT_IMM, local_size)); in sljit_emit_enter() 923 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_set_context() argument 928 …ck_sljit_set_context(compiler, options, args, scratches, saveds, fscratches, fsaveds, local_size)); in sljit_set_context() 929 … set_set_context(compiler, options, args, scratches, saveds, fscratches, fsaveds, local_size); in sljit_set_context() [all …]
|
| D | sljitLir.h | 327 sljit_s32 local_size; member 546 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size); 560 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size);
|
| D | sljitNativeX86_common.c | 619 static void SLJIT_CALL sljit_grow_stack(sljit_sw local_size) in sljit_grow_stack() argument 628 *(volatile sljit_s32*)alloca(local_size) = 0; in sljit_grow_stack()
|
| /netbsd/src/external/gpl3/gcc/dist/gcc/config/mcore/ |
| D | mcore.cc | 72 int local_size; /* Locals. */ member 1727 infp->local_size = get_frame_size (); in layout_mcore_frame() 1731 if (infp->local_size % STACK_BYTES) in layout_mcore_frame() 1732 infp->local_size = (infp->local_size + STACK_BYTES - 1) & ~ (STACK_BYTES -1); in layout_mcore_frame() 1751 localregarg = infp->local_size + regarg; in layout_mcore_frame() 1767 infp->reg_offset = infp->local_size; in layout_mcore_frame() 1793 && (infp->local_size > ADDI_REACH) in layout_mcore_frame() 1846 if (infp->local_size % STACK_BYTES) in layout_mcore_frame() 1847 infp->pad_local = STACK_BYTES - (infp->local_size % STACK_BYTES); in layout_mcore_frame() 1849 step = infp->local_size + infp->pad_local; in layout_mcore_frame() [all …]
|