[MPlayer-dev-eng] [PATCH] cpudetect on MingW
Jiang Hong
netex at 163.com
Mon Jun 26 07:15:30 CEST 2006
Hi,
Maybe detection of _aligned_malloc is required, but it requires
MSVCRT 7 or later.
On MinGW, it is needed to make a wrapper memalign() function
to call
__mingw_aligned_malloc
__mingw_aligned_realloc
and
__mingw_aligned_free
>
> On Mon, Jun 26, 2006 at 12:23:34PM +0800, Jiang Hong wrote:
> > Hi,
> >
> > MingW does support SSE/SSE2 as CygWin does.
>
> The problem is perhaps that the mingw (ms) C library doesn't. It lacks
> memalign and malloc does not return 16-byte-aligned memory. I thought
> the memalign hack was supposed to compensate for that tho... so maybe
> you're right and this is just an oversight.
>
> Rich
>
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
--
Jiang Hong <netex at 163.com>
More information about the MPlayer-dev-eng
mailing list