Lines Matching refs:stack
51 /* The stack layout given to ffi_call_unix and ffi_closure_unix_inner. */
57 UINT64 other_args[]; /* Arguments passed on stack, variable size. */
278 struct ia64_args *stack;
288 /* Allocate the stack frame. */
289 stack = alloca (cif->bytes);
298 stack->gp_regs[gpcount++] = *(SINT8 *)avalue[i];
301 stack->gp_regs[gpcount++] = *(UINT8 *)avalue[i];
304 stack->gp_regs[gpcount++] = *(SINT16 *)avalue[i];
307 stack->gp_regs[gpcount++] = *(UINT16 *)avalue[i];
310 stack->gp_regs[gpcount++] = *(SINT32 *)avalue[i];
313 stack->gp_regs[gpcount++] = *(UINT32 *)avalue[i];
317 stack->gp_regs[gpcount++] = *(UINT64 *)avalue[i];
321 stack->gp_regs[gpcount++] = (UINT64)(PTR64) *(void **)avalue[i];
326 stf_spill (&stack->fp_regs[fpcount++], *(float *)avalue[i]);
327 stack->gp_regs[gpcount++] = *(UINT32 *)avalue[i];
332 stf_spill (&stack->fp_regs[fpcount++], *(double *)avalue[i]);
333 stack->gp_regs[gpcount++] = *(UINT64 *)avalue[i];
340 stf_spill (&stack->fp_regs[fpcount++], *(__float80 *)avalue[i]);
341 memcpy (&stack->gp_regs[gpcount], avalue[i], 16);
365 hfa_type_load (&stack->fp_regs[fpcount], hfa_type,
373 memcpy (&stack->gp_regs[gpcount], avalue[i], size);
383 ffi_call_unix (stack, rvalue, fn, cif->flags);
445 ffi_closure_unix_inner (ffi_closure *closure, struct ia64_args *stack,
469 avalue[i] = endian_adjust(&stack->gp_regs[gpcount++], 1);
473 avalue[i] = endian_adjust(&stack->gp_regs[gpcount++], 2);
477 avalue[i] = endian_adjust(&stack->gp_regs[gpcount++], 4);
481 avalue[i] = &stack->gp_regs[gpcount++];
484 avalue[i] = endian_adjust(&stack->gp_regs[gpcount++], sizeof(void*));
490 fpreg *addr = &stack->fp_regs[fpcount++];
497 avalue[i] = endian_adjust(&stack->gp_regs[gpcount], 4);
504 fpreg *addr = &stack->fp_regs[fpcount++];
511 avalue[i] = &stack->gp_regs[gpcount];
520 fpreg *addr = &stack->fp_regs[fpcount++];
527 avalue[i] = &stack->gp_regs[gpcount];
555 &stack->fp_regs[fpcount]);
562 memcpy (addr + offset, (char *)stack->gp_regs + gp_offset,
566 avalue[i] = &stack->gp_regs[gpcount];