Re: Extra space allocated for array

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bob Plantz wrote:

> Notice that it leaves 8 bytes "above" where the caller's rbp is stored
> and the final 8 bytes of the red zone are unused. There seems to be an
> 8-byte buffer at both ends of the array. Why?

The stack pointer is always kept aligned to 16 bytes so that functions
that require it (e.g. those that use SIMD operands) don't have to emit
instructions to align it in the prologue.

Brian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux