• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/RubyCocoa-80/RubyCocoa/misc/libffi/src/powerpc/

Lines Matching defs:?f

10    Permission is hereby granted, free of charge, to any person obtaining
11 a copy of this software and associated documentation files (the
14 distribute, sublicense, and/or sell copies of the Software, and to
19 in all copies or substantial portions of the Software.
119 if (flags & FLAG_RETVAL_REFERENCE)
129 /* If a floating-point parameter appears before all of the general-
131 the size of the floating-point parameter are skipped. */
134 if (fparg_count < NUM_FPR_ARG_REGISTERS)
144 if (fparg_count < NUM_FPR_ARG_REGISTERS)
152 #if FFI_TYPE_LONGDOUBLE != FFI_TYPE_DOUBLE
156 if (fparg_count < NUM_FPR_ARG_REGISTERS)
162 if (fparg_count < NUM_FPR_ARG_REGISTERS)
192 SI 4 bytes) are aligned as if they were those modes.
195 /* If the first member of the struct is a double, then align
198 if ((*ptr)->elements[0]->type == 3)
200 if (size_al < 3 && ecif->cif->abi == FFI_DARWIN)
238 /* All the machine-independent calculation of cif->bytes will be wrong.
248 - Structures of size <= 4 bytes also returned in gpr3;
252 - Long double FP (if not equivalent to double) values are returned in
259 #if FFI_TYPE_LONGDOUBLE != FFI_TYPE_DOUBLE
292 /* The first NUM_GPR_ARG_REGISTERS words of integer arguments, and the
294 goes on the stack. Structures are passed as a pointer to a copy of
303 /* If this FP arg is going on the stack, it must be
305 if (fparg_count > NUM_FPR_ARG_REGISTERS
310 #if FFI_TYPE_LONGDOUBLE != FFI_TYPE_DOUBLE
314 /* If this FP arg is going on the stack, it must be
316 if (fparg_count > NUM_FPR_ARG_REGISTERS
327 on the stack. If they go on the stack, they must
329 if (intarg_count == NUM_GPR_ARG_REGISTERS-1
337 /* If the first member of the struct is a double, then align
340 if ((*ptr)->elements[0]->type == 3)
353 if (fparg_count != 0)
356 /* Space for the FPR registers, if needed. */
357 if (fparg_count != 0)
361 if ((intarg_count + 2 * fparg_count) > NUM_GPR_ARG_REGISTERS)
366 /* The stack space allocated needs to be a multiple of 16 bytes. */
400 /* If the return value is a struct and we don't have a return
403 if ((rvalue == NULL) &&
436 /* The layout of a function descriptor. A C function pointer really
437 points to one of these. */
471 | alignement to the next multiple of 16 |
590 entry, r11 holds the address of the closure.
594 following helper function to do most of the work. */
614 long nf; /* number of floating registers already used. */
615 long ng; /* number of general registers already used. */
624 nf = 0;
629 if (cif->rtype->type == FFI_TYPE_STRUCT)
640 /* Grab the addresses of the arguments from the stack frame. */
669 SI 4 bytes) are aligned as if they were those modes. */
671 /* If the first member of the struct is a double, then align
674 if (arg_types[i]->elements[0]->type == 3)
676 if (size_al < 3 && cif->abi == FFI_DARWIN)
695 if (nf < NUM_FPR_ARG_REGISTERS)
706 nf++;
714 if (nf < NUM_FPR_ARG_REGISTERS)
723 nf++;
728 #if FFI_TYPE_LONGDOUBLE != FFI_TYPE_DOUBLE
733 if (nf < NUM_FPR_ARG_REGISTERS - 1)
738 /* Here we have the situation where one part of the long double
741 else if (nf == NUM_FPR_ARG_REGISTERS - 1)
751 nf += 2;