Re: user-defined alignment in gfortran



Tim Prince <timothyprince@xxxxxxxxxxxxx> schrieb:

When you have support for 16-byte alignment built into binutils, the
gcc/gfortran option -mpreferred-stack-boundary=4 [this means 2**4]
should accomplish what you requested.

I don't think so. I don't want to align the stack but data on the heap.

I don't see how gfortran will distinguish between stack and heap
alignments; perhaps your question is more complicated than you have told us.

If so I don't know why. gcc supports __attribute__((aligned(16))) why
shouldn't gfortran have something similar?
Unfortunately most people try to tell me why I don't need alignment, but
I really do need it for the DMA-Transfer stuff on Cell...

Regards,
Timo
.



Relevant Pages

  • Re: user-defined alignment in gfortran
    ... I don't want to align the stack but data on the heap. ... I don't see how gfortran will distinguish between stack and heap ... alignments; perhaps your question is more complicated than you have told us. ...
    (comp.lang.fortran)
  • Re: user-defined alignment in gfortran
    ... I don't want to align the stack but data on the heap. ... I don't see how gfortran will distinguish between stack and heap ... alignments; perhaps your question is more complicated than you have told us. ...
    (comp.lang.fortran)
  • Re: How does managed code work?
    ... Does it work the same way as the native stack with a frame pointer that is the head of a linked list of stack frames where each time we enter a function we create a new stack frame in which new variables are pushed and each time we exit a function the entire stack frame is popped? ... Can someone point me to a discussion of the managed heap? ... How does it prevent memory leaks that occur in COM when two objects reference each other and keep the others reference count nonzero? ... Because objects don't go out of scope, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Groovy (war Re: [PROST]Re: CDC Plugin fuer Eclipse)
    ... Warum müsste man continuations erlauben Stackvariablen in den Heap zu verschieben? ... Ein activation record speichert die Parameter und lokalen Variablen der Funktion und eine Information, ... Da diese activation records klassischerweise auf einem Stack verwaltet werden, kann man hier Stackspace sparen - Endrekursion ist damit genauso effizient wie eine klassische Iteration mit einem Sprung. ...
    (de.comp.lang.java)
  • Re: Stack, Heap, Mfc
    ... >> is put on the heap. ... >> decendant does this not mean that all memory will be on the heap because ... > stack or the heap. ... You first try to limit the recursion to an acceptable ...
    (microsoft.public.vc.mfc)