On Mon, Dec 03, 2012 at 10:18:56PM +0400, Konstantin Serebryany wrote: > The LLVM implementation always used 32-byte alignment for stack redzones. > I never actually did any performance checking on x86 (32-byte aligned > vs 8-byte aligned), > although I suspect 32-byte aligned redzones should be ~2x faster.
Why? The 32-byte realigning has significant cost, plus often one extra register is eaten (the DRAP register), even bigger cost on non-i?86/x86_64 targets. Jakub