Default stack alignment on x86-64, fedora 11

Rohit Garg
Thu Aug 27 17:38:00 GMT 2009

> You should be able to use __attribute__ ((aligned (16))) to make this
> happen.
I knew that, it's just that I wanted to minimize cache pollution
because my app thrashes cache badly. My bigger question is if stack is
16 byte aligned by default on modern 64 bit distributions?

Rohit Garg

Senior Undergraduate
Department of Physics
Indian Institute of Technology

More information about the Gcc-help mailing list