Re: user-defined alignment in gfortran



Steven G. Kargl <kargl@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> schrieb:
In article <slrnf5oclv.au0.timos@xxxxxxxxxxxxxxxx>,
Timo Schneider <timos@xxxxxxxxxxxxxxx> writes:
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...

You're asking for info of in the wrong forum. Try posting to
gcc at gcc.gnu.org and fortran at gcc.gnu.org.

Ah, thats a good idea. Thanks!

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: 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)
  • Re: Please Explain where will the struct be stored if it is declared inside the Class
    ... forget about structs for a second. ... can be stored either on the stack, or on the heap. ... First, think about the stack. ... A struct would act exactly the same as any of these decimals and ints. ...
    (microsoft.public.dotnet.languages.csharp)