[MPlayer-cygwin] _aligned_malloc with msvcrt70

Gianluigi Tiesi mplayer at netfarm.it
Wed Aug 2 04:32:38 CEST 2006


On Tue, Aug 01, 2006 at 04:48:10PM +0200, Martin Fiedler wrote:
> Hi!
> 
> Sorry for the last message, the webmail system here has gone mad :( What I wanted to write was:
> 
> > > I'm currently using sse code with memalign hack and no one
> > > reported problems, but native windows calls shouldn't be more safe?
> 
> _aligned_malloc isn't a native Windows API call, it's just part of the MSVC standard library. And if I interpret the documentation correctly, it'll just do a malloc(size + align) and some pointer arithmetics afterwards, so you may get no improvement when using this function.
> 
improvment? it doesn't work :) An article @ m$ was talking about os fixup of aligned
memory so I wanted to try it.
memalign hack works fine

Bye

-- 
Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/



More information about the MPlayer-cygwin mailing list