|
From: Trent P. <xy...@sp...> - 2004-01-15 04:01:44
|
On Wed, 14 Jan 2004, Steven M. Schultz wrote:
> Look in cpu_accel.c - you should see something like this:
>
> if (posix_memalign( &buf, simd_alignment, size))
> buf = memalign(pgsize, size);
> if (buf && ((int)buf & (simd_alignment - 1)))
> {
> free(buf);
> buf = memalign(pgsize, size);
> }
Could this be done at configure time? Check the glibc version or have
autoconf run a test program to see if posix_memalign works?
|