Files
mesa/src/util
Grazvydas Ignotas ff494fe999 ralloc: don't leave out the alignment factor
Experimentation shows that without alignment factor gcc and clang choose
a factor of 16 even on IA-32, which doesn't match what malloc() uses (8).
The problem is it makes gcc assume the pointer is 16 byte aligned, so
with -O3 it starts using aligned SSE instructions that later fault,
so always specify a suitable alignment factor.

Cc: Jonas Pfeil <pfeiljonas@gmx.de>
Fixes: cd2b55e5 "ralloc: Make sure ralloc() allocations match malloc()'s alignment."
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100049
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Tested by: Mike Lothian <mike@fireburn.co.uk>
Tested by: Jonas Pfeil <pfeiljonas@gmx.de>
2017-03-06 11:28:48 -08:00
..
2017-01-16 18:07:08 +01:00
2015-11-24 10:05:32 -08:00
2017-03-06 16:39:55 +11:00
2017-03-06 16:39:55 +11:00
2017-01-12 13:58:32 +11:00
2016-11-21 12:44:46 -06:00
2017-02-27 15:46:12 -08:00
2015-03-18 21:06:26 -07:00
2016-10-07 21:24:50 +11:00
2015-09-29 16:01:56 +01:00
2015-06-29 09:06:40 -07:00
2015-06-29 09:06:40 -07:00
2015-12-04 14:06:41 +00:00
2016-10-19 09:05:25 +10:00