Re: [PATCH][AArch64] Define MALLOC_ABI_ALIGNMENT

2017-11-02 Thread Wilco Dijkstra
Richard Earnshaw wrote: > On 01/11/17 17:40, James Greenhalgh wrote: >> As far as I understand it, because we have 128-bit types, a malloc of >> anything greater than 16 bytes would require 16-byte alignment. So, assuming >> this macro isn't required to desribe possibly unaligned smaller allocatio

Re: [PATCH][AArch64] Define MALLOC_ABI_ALIGNMENT

2017-11-02 Thread Richard Earnshaw
On 01/11/17 17:40, James Greenhalgh wrote: > On Tue, Oct 31, 2017 at 05:07:54PM +, Wilco Dijkstra wrote: >> The AArch64 backend currently doesn't set MALLOC_ABI_ALIGNMENT, so >> add this to enable alignment optimizations on malloc pointers. >> >> OK for commit? > > As far as I understand it, b

Re: [PATCH][AArch64] Define MALLOC_ABI_ALIGNMENT

2017-11-01 Thread James Greenhalgh
On Tue, Oct 31, 2017 at 05:07:54PM +, Wilco Dijkstra wrote: > The AArch64 backend currently doesn't set MALLOC_ABI_ALIGNMENT, so > add this to enable alignment optimizations on malloc pointers. > > OK for commit? As far as I understand it, because we have 128-bit types, a malloc of anything g

[PATCH][AArch64] Define MALLOC_ABI_ALIGNMENT

2017-10-31 Thread Wilco Dijkstra
The AArch64 backend currently doesn't set MALLOC_ABI_ALIGNMENT, so add this to enable alignment optimizations on malloc pointers. OK for commit? 2017-10-31 Wilco Dijkstra * config/aarch64/aarch64.h (MALLOC_ABI_ALIGNMENT): New define. -- diff --git a/gcc/config/aarch64/aarch64.h b/gcc/