Home
last modified time | relevance | path

Searched refs:stack_offset (Results 1 – 25 of 26) sorted by relevance

12

/external/libjpeg-turbo/simd/mips/
Djsimd_dspr2_asm.h138 .macro CHECK_STACK_OFFSET regs_num, stack_offset
139 .if \stack_offset < \regs_num * 4 - 16
155 .macro SAVE_REGS_ON_STACK stack_offset = 0, r1, \
161 .if (\stack_offset < 0) || (\stack_offset - (\stack_offset / 4) * 4)
164 .if \stack_offset != 0
165 addiu sp, sp, -\stack_offset
178 CHECK_STACK_OFFSET 5, \stack_offset
182 CHECK_STACK_OFFSET 6, \stack_offset
186 CHECK_STACK_OFFSET 7, \stack_offset
190 CHECK_STACK_OFFSET 8, \stack_offset
[all …]
/external/mesa3d/src/mapi/glapi/gen/
Dgl_x86-64_asm.py61 for [reg, stack_offset] in registers:
62 save_reg( reg, stack_offset, adjust_stack )
73 [reg, stack_offset] = temp.pop()
74 restore_reg(reg, stack_offset, adjust_stack)
197 stack_offset = 0
204 registers.append( [int_parameters[int_class], stack_offset] )
206 stack_offset += 8
209 registers.append( ["%%xmm%u" % (sse_class), stack_offset] )
211 stack_offset += 8
/external/libffi/src/avr32/
Dffi.c74 unsigned int stack_offset = 0; in ffi_prep_args() local
101 addr = stack_base + stack_offset; in ffi_prep_args()
102 stack_offset += z; in ffi_prep_args()
131 addr = stack_base + stack_offset; in ffi_prep_args()
132 stack_offset += z; in ffi_prep_args()
169 for(i = 0; i < stack_offset / 4; i++) in ffi_prep_args()
277 register unsigned int stack_offset = 0; in ffi_prep_incoming_args_SYSV() local
310 *p_argv = (void*)stack_base + stack_offset; in ffi_prep_incoming_args_SYSV()
311 stack_offset += z; in ffi_prep_incoming_args_SYSV()
340 *p_argv = (void*)stack_base + stack_offset; in ffi_prep_incoming_args_SYSV()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/avr32/
Dffi.c74 unsigned int stack_offset = 0; in ffi_prep_args() local
101 addr = stack_base + stack_offset; in ffi_prep_args()
102 stack_offset += z; in ffi_prep_args()
131 addr = stack_base + stack_offset; in ffi_prep_args()
132 stack_offset += z; in ffi_prep_args()
169 for(i = 0; i < stack_offset / 4; i++) in ffi_prep_args()
277 register unsigned int stack_offset = 0; in ffi_prep_incoming_args_SYSV() local
310 *p_argv = (void*)stack_base + stack_offset; in ffi_prep_incoming_args_SYSV()
311 stack_offset += z; in ffi_prep_incoming_args_SYSV()
340 *p_argv = (void*)stack_base + stack_offset; in ffi_prep_incoming_args_SYSV()
[all …]
/external/libaom/libaom/third_party/x86inc/
Dx86inc.asm264 %define r%1m [rstk + stack_offset + %3]
267 %define r%1m [rstk + stack_offset + %3]
330 %assign stack_offset stack_offset+gprsize
337 %assign stack_offset stack_offset-gprsize
371 %assign stack_offset stack_offset+(%2)
378 %assign stack_offset stack_offset-(%2)
416 %xdefine %%stack_offset stack_offset
417 %undef stack_offset ; so that the current value of stack_offset doesn't get baked in by xdefine
542 movaps [rstk + stack_offset + 8], xmm6
545 movaps [rstk + stack_offset + 24], xmm7
[all …]
/external/libvpx/libvpx/third_party/x86inc/
Dx86inc.asm264 %define r%1m [rstk + stack_offset + %3]
267 %define r%1m [rstk + stack_offset + %3]
330 %assign stack_offset stack_offset+gprsize
337 %assign stack_offset stack_offset-gprsize
371 %assign stack_offset stack_offset+(%2)
378 %assign stack_offset stack_offset-(%2)
416 %xdefine %%stack_offset stack_offset
417 %undef stack_offset ; so that the current value of stack_offset doesn't get baked in by xdefine
542 movaps [rstk + stack_offset + 8], xmm6
545 movaps [rstk + stack_offset + 24], xmm7
[all …]
/external/v8/src/compiler/
Dc-linkage.cc154 int stack_offset = STACK_SHADOW_WORDS; in BuildParameterLocations() local
156 int stack_offset = 0; in BuildParameterLocations()
165 LinkageLocation::ForCallerFrameSlot(-1 - stack_offset, type)); in BuildParameterLocations()
166 stack_offset++; in BuildParameterLocations()
191 int stack_offset = STACK_SHADOW_WORDS; in BuildParameterLocations() local
193 int stack_offset = 0; in BuildParameterLocations()
204 LinkageLocation::ForCallerFrameSlot(-1 - stack_offset, type)); in BuildParameterLocations()
205 stack_offset++; in BuildParameterLocations()
/external/libaom/libaom/third_party/libyuv/source/
Dx86inc.asm143 %define r%1m [rsp + stack_offset + %3]
146 %define r%1m [esp + stack_offset + %3]
208 %assign stack_offset stack_offset+gprsize
213 %assign stack_offset stack_offset-gprsize
246 %assign stack_offset stack_offset+(%2)
253 %assign stack_offset stack_offset-(%2)
291 %xdefine %%stack_offset stack_offset
292 %undef stack_offset ; so that the current value of stack_offset doesn't get baked in by xdefine
/external/pcre/dist2/src/sljit/
DsljitNativeMIPS_32.c446 sljit_s32 stack_offset = 0; in call_with_args() local
465 offsets[arg_count] = (sljit_u8)stack_offset; in call_with_args()
470 stack_offset += sizeof(sljit_f32); in call_with_args()
475 if (stack_offset & 0x7) in call_with_args()
476 stack_offset += sizeof(sljit_sw); in call_with_args()
477 offsets[arg_count] = (sljit_u8)stack_offset; in call_with_args()
482 stack_offset += sizeof(sljit_f64); in call_with_args()
487 offsets[arg_count] = (sljit_u8)stack_offset; in call_with_args()
488 stack_offset += sizeof(sljit_sw); in call_with_args()
498 if (stack_offset > 16) in call_with_args()
[all …]
DsljitNativeARM_T2_32.c1837 sljit_s32 stack_offset = 0; in softfloat_call_with_args() local
1855 offsets[arg_count] = (sljit_u8)stack_offset; in softfloat_call_with_args()
1856 stack_offset += sizeof(sljit_f32); in softfloat_call_with_args()
1861 if (stack_offset & 0x7) in softfloat_call_with_args()
1862 stack_offset += sizeof(sljit_sw); in softfloat_call_with_args()
1863 offsets[arg_count] = (sljit_u8)stack_offset; in softfloat_call_with_args()
1864 stack_offset += sizeof(sljit_f64); in softfloat_call_with_args()
1869 offsets[arg_count] = (sljit_u8)stack_offset; in softfloat_call_with_args()
1870 stack_offset += sizeof(sljit_sw); in softfloat_call_with_args()
1879 if (stack_offset > 16) in softfloat_call_with_args()
[all …]
DsljitNativeARM_32.c2150 sljit_s32 stack_offset = 0; in softfloat_call_with_args() local
2168 offsets[arg_count] = (sljit_u8)stack_offset; in softfloat_call_with_args()
2169 stack_offset += sizeof(sljit_f32); in softfloat_call_with_args()
2174 if (stack_offset & 0x7) in softfloat_call_with_args()
2175 stack_offset += sizeof(sljit_sw); in softfloat_call_with_args()
2176 offsets[arg_count] = (sljit_u8)stack_offset; in softfloat_call_with_args()
2177 stack_offset += sizeof(sljit_f64); in softfloat_call_with_args()
2182 offsets[arg_count] = (sljit_u8)stack_offset; in softfloat_call_with_args()
2183 stack_offset += sizeof(sljit_sw); in softfloat_call_with_args()
2192 if (stack_offset > 16) in softfloat_call_with_args()
[all …]
/external/jemalloc_new/src/
Dtcache.c378 size_t stack_offset = 0; in tcache_init() local
385 stack_offset += tcache_bin_info[i].ncached_max * sizeof(void *); in tcache_init()
392 (void **)((uintptr_t)avail_stack + (uintptr_t)stack_offset); in tcache_init()
395 stack_offset += tcache_bin_info[i].ncached_max * sizeof(void *); in tcache_init()
397 (void **)((uintptr_t)avail_stack + (uintptr_t)stack_offset); in tcache_init()
399 assert(stack_offset == stack_nelms * sizeof(void *)); in tcache_init()
448 size_t size, stack_offset; in tcache_create_explicit() local
453 stack_offset = size; in tcache_create_explicit()
465 (void *)((uintptr_t)tcache + (uintptr_t)stack_offset)); in tcache_create_explicit()
/external/v8/src/wasm/
Dwasm-debug.h53 int stack_offset; // if kind == kStack member
72 int stack_offset(int index) const { in stack_offset() function
74 return values_[index].stack_offset; in stack_offset()
Dwasm-debug.cc185 os << "stack#" << value.stack_offset; in Print()
739 stack_frame_base - debug_side_table_entry->stack_offset(index); in GetValue()
/external/v8/src/wasm/baseline/
Dliftoff-assembler.cc210 void LoadStackSlot(LiftoffRegister dst, uint32_t stack_offset, in LoadStackSlot() argument
222 RegisterLoad::HalfStack(stack_offset, kLowWord); in LoadStackSlot()
224 RegisterLoad::HalfStack(stack_offset, kHighWord); in LoadStackSlot()
230 *register_load(dst.low()) = RegisterLoad::Stack(stack_offset, type); in LoadStackSlot()
233 *register_load(dst) = RegisterLoad::Stack(stack_offset, type); in LoadStackSlot()
739 const uint32_t stack_offset = slot.offset(); in PrepareStackTransfers() local
756 stack_transfers->LoadI64HalfIntoRegister(reg, slot, stack_offset, in PrepareStackTransfers()
759 stack_transfers->LoadIntoRegister(reg, slot, stack_offset); in PrepareStackTransfers()
763 stack_slots->Add(slot, stack_offset, half); in PrepareStackTransfers()
/external/jemalloc/src/
Dtcache.c324 size_t size, stack_offset; in tcache_create() local
330 stack_offset = size; in tcache_create()
347 stack_offset += tcache_bin_info[i].ncached_max * sizeof(void *); in tcache_create()
354 (uintptr_t)stack_offset); in tcache_create()
/external/v8/src/codegen/ppc/
Dmacro-assembler-ppc.cc395 int16_t stack_offset = num_to_push * kSystemPointerSize; in MultiPush() local
397 subi(location, location, Operand(stack_offset)); in MultiPush()
400 stack_offset -= kSystemPointerSize; in MultiPush()
401 StoreP(ToRegister(i), MemOperand(location, stack_offset)); in MultiPush()
407 int16_t stack_offset = 0; in MultiPop() local
411 LoadP(ToRegister(i), MemOperand(location, stack_offset)); in MultiPop()
412 stack_offset += kSystemPointerSize; in MultiPop()
415 addi(location, location, Operand(stack_offset)); in MultiPop()
420 int16_t stack_offset = num_to_push * kDoubleSize; in MultiPushDoubles() local
422 subi(location, location, Operand(stack_offset)); in MultiPushDoubles()
[all …]
/external/v8/src/codegen/mips64/
Dmacro-assembler-mips64.cc1956 int16_t stack_offset = num_to_push * kPointerSize; in MultiPush() local
1958 Dsubu(sp, sp, Operand(stack_offset)); in MultiPush()
1961 stack_offset -= kPointerSize; in MultiPush()
1962 Sd(ToRegister(i), MemOperand(sp, stack_offset)); in MultiPush()
1968 int16_t stack_offset = 0; in MultiPop() local
1972 Ld(ToRegister(i), MemOperand(sp, stack_offset)); in MultiPop()
1973 stack_offset += kPointerSize; in MultiPop()
1976 daddiu(sp, sp, stack_offset); in MultiPop()
1981 int16_t stack_offset = num_to_push * kDoubleSize; in MultiPushFPU() local
1983 Dsubu(sp, sp, Operand(stack_offset)); in MultiPushFPU()
[all …]
/external/v8/src/codegen/mips/
Dmacro-assembler-mips.cc1413 int16_t stack_offset = num_to_push * kPointerSize; in MultiPush() local
1415 Subu(sp, sp, Operand(stack_offset)); in MultiPush()
1418 stack_offset -= kPointerSize; in MultiPush()
1419 sw(ToRegister(i), MemOperand(sp, stack_offset)); in MultiPush()
1425 int16_t stack_offset = 0; in MultiPop() local
1429 lw(ToRegister(i), MemOperand(sp, stack_offset)); in MultiPop()
1430 stack_offset += kPointerSize; in MultiPop()
1433 addiu(sp, sp, stack_offset); in MultiPop()
1438 int16_t stack_offset = num_to_push * kDoubleSize; in MultiPushFPU() local
1440 Subu(sp, sp, Operand(stack_offset)); in MultiPushFPU()
[all …]
/external/v8/src/codegen/s390/
Dmacro-assembler-s390.cc406 int16_t stack_offset = num_to_push * kSystemPointerSize; in MultiPush() local
408 SubP(location, location, Operand(stack_offset)); in MultiPush()
411 stack_offset -= kSystemPointerSize; in MultiPush()
412 StoreP(ToRegister(i), MemOperand(location, stack_offset)); in MultiPush()
418 int16_t stack_offset = 0; in MultiPop() local
422 LoadP(ToRegister(i), MemOperand(location, stack_offset)); in MultiPop()
423 stack_offset += kSystemPointerSize; in MultiPop()
426 AddP(location, location, Operand(stack_offset)); in MultiPop()
431 int16_t stack_offset = num_to_push * kDoubleSize; in MultiPushDoubles() local
433 SubP(location, location, Operand(stack_offset)); in MultiPushDoubles()
[all …]
/external/mesa3d/src/gallium/auxiliary/rtasm/
Drtasm_x86sse.c581 p->stack_offset += sizeof(void*); in x86_push()
591 p->stack_offset += sizeof(void*); in x86_push_imm32()
601 p->stack_offset -= sizeof(void*); in x86_pop()
633 assert(p->stack_offset == 0); in x86_ret()
2121 p->stack_offset + arg * 8); in x86_fn_arg()
2140 p->stack_offset + (arg - 6) * 8); /* ??? */ in x86_fn_arg()
2144 p->stack_offset + arg * 4); /* ??? */ in x86_fn_arg()
Drtasm_x86sse.h57 unsigned stack_offset:16; member
/external/mesa3d/src/mesa/x86/rtasm/
Dx86sse.c321 p->stack_offset += 4; in x86_push()
329 p->stack_offset -= 4; in x86_pop()
1160 p->stack_offset + arg * 4); /* ??? */ in x86_fn_arg()
Dx86sse.h22 unsigned stack_offset; member
/external/v8/src/builtins/ia32/
Dbuiltins-ia32.cc3498 int stack_offset = 0; // Update if we change the stack height. in Generate_MemMove() local
3504 stack_offset += 2 * kSystemPointerSize; in Generate_MemMove()
3509 __ mov(dst, Operand(esp, stack_offset + kDestinationOffset)); in Generate_MemMove()
3510 __ mov(src, Operand(esp, stack_offset + kSourceOffset)); in Generate_MemMove()
3511 __ mov(count, Operand(esp, stack_offset + kSizeOffset)); in Generate_MemMove()

12