This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Alignment of dynamic goto targets


> With egcs the ".align" directives have disappeared:

egcs-1.03 still has them, but does not ".align 4" on fall-through.

...
> Recently Anton Ertl posted the following example to comp.arch on Usenet:
...
> and found extreme variations in run-time on the new Alpha 21264 when
> alignment was varied

Concretely, misalignment penalties of ~8-13 cycles.

> (I presume that he encountered this in his work
> with threaded Forth implementations).

This is actually a threaded-code micro-benchmark inspired by my work
on Forth.  For more info read
http://www.complang.tuwien.ac.at/forth/threading/.

> Would it possible to patch this for upcoming versions of egcs?

Seconded.

- anton


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]