Re: How to get 16-byte stack alignment in leaf functions

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

 





-----Original Message----- From: Dave Allured - NOAA Affiliate

On Tue, Sep 10, 2013 at 3:42 AM, Andrew Haley <aph@xxxxxxxxxx> wrote:
What is the faulting instruction?

movdqa, an SSE instruction that requires 16-byte alignment.  This is
about a dozen instructions within the dynamic loader.

By some coincidence the same problem with movdqa cropped up (and a solution found) in a perl forum:

http://www.perlmonks.org/?node_id=1052707

In a nutshell, the solution there was to invoke "__attribute__ ((aligned(8)))", which meant that gcc generated movdqu instructions instead of the faster movdqa.

I don't know if that necessarily helps here :-)

Cheers,
Rob






[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