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]
Other format: [Raw text]

Re: Memory alignment optimization


On Tue, 28 May 2013, Anton Titov wrote:

I'm trying to force gcc to trust me that my memory allocation function is returning aligned memory. So far I tried everything I found with no luck.

Did you try using __builtin_assume_aligned?

--
Marc Glisse


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