[PATCH 5/8] ntdll: Add detection for PF_SSE_DAZ_MODE_AVAILABLE

David Laight david at l8s.co.uk
Sun Oct 21 11:37:10 CDT 2012


On Sun, Oct 21, 2012 at 06:06:56PM +0200, Joris Huizer wrote:
> I would think the construct is necessary when allocating memory (the 
> allocation functions don't allow to require a certain alignment as far 
> as I know)
> That might be where you saw this being done?

A conformant malloc() should return 16 byte aligned memory.
But I bet some i386 ones don't.
Especially since gcc is quite capable of suddently using the
SSE2 (etc) instructions that require such alignment.

	David

-- 
David Laight: david at l8s.co.uk



More information about the wine-devel mailing list