]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Change the default (minimum) client malloc alignment from 8 to 16
authorJulian Seward <jseward@acm.org>
Wed, 27 Apr 2011 23:25:15 +0000 (23:25 +0000)
committerJulian Seward <jseward@acm.org>
Wed, 27 Apr 2011 23:25:15 +0000 (23:25 +0000)
commit6045181f3c332cb6d646d94124a96cb975864918
tree8f6d6f2461b9c76a17ed6f15e9d7ba7c896afb81
parent7671cab5c89156b119f6a7e130ea9ce93c7cff0b
Change the default (minimum) client malloc alignment from 8 to 16
on ppc32-linux.  This is needed to make Altivec-using code work
correctly.  Noticed when running ./auxprogs/gsl16test with gcc-4.6
with args -mcpu=970 -g -O3 -ftree-vectorize on Memcheck, in
which case a few of the tests failed because malloc() returns
8 byte aligned memory when it should return 16-aligned memory.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11715
coregrind/pub_core_mallocfree.h