zone allocator and aligned data

2006-12-25 Thread Samuel Thibault
Hi, It looks like zalloc() doesn't have any way to allocate aligned buffers. However, for FXSR we _need_ 16-byte-aligned buffers. Shouldn't we add an alignment capability to the zone allocator? Samuel ___ Bug-hurd mailing list Bug-hurd@gnu.org http:/

Re: gcc-4.1 with fastmath

2006-12-25 Thread Samuel Thibault
Hi, Barry deFreese, le Mon 04 Dec 2006 21:45:01 -0500, a écrit : > I was able to build gcc-4.1 with a crtfastmath.o by changing config.gcc > to the following: > > i[34567]86-*-gnu*) >tmake_file="${tmake_file} i386/t-crtfm" >;; > > But when running the attached test code compiled

Re: gcc-4.1 with fastmath

2006-12-25 Thread Thomas Schwinge
Hello! On Mon, Dec 25, 2006 at 09:51:55PM +0100, Samuel Thibault wrote: > Barry deFreese, le Mon 04 Dec 2006 21:45:01 -0500, a ?crit : > > I was able to build gcc-4.1 with a crtfastmath.o by changing config.gcc > > to the following: > > > > i[34567]86-*-gnu*) > >tmake_file="${tmake_file}

Re: zone allocator and aligned data

2006-12-25 Thread Richard Braun
On Mon, Dec 25, 2006 at 09:08:01PM +0100, Samuel Thibault wrote: > It looks like zalloc() doesn't have any way to allocate aligned buffers. > However, for FXSR we _need_ 16-byte-aligned buffers. Shouldn't we add > an alignment capability to the zone allocator? Yes, zinit() could use an align para

Re: zone allocator and aligned data

2006-12-25 Thread Samuel Thibault
Richard Braun, le Tue 26 Dec 2006 00:50:49 +0100, a écrit : > On Mon, Dec 25, 2006 at 09:08:01PM +0100, Samuel Thibault wrote: > > It looks like zalloc() doesn't have any way to allocate aligned buffers. > > However, for FXSR we _need_ 16-byte-aligned buffers. Shouldn't we add > > an alignment cap