[Barrelfish-users] newlib and accelerated math on Intel64?

Kornilios Kourtis kornilios.kourtis at inf.ethz.ch
Sun Apr 1 15:28:33 CEST 2012


On Sat, Mar 31, 2012 at 09:21:49PM +0200, Simon Peter wrote:
> Do we know whether newlib supports hardware accelerated math on the 
> Intel64 platform? When Barrelfish is compiled for x86_64, I can see that 
> math-using applications link software math routines.

It seems that it does not. There isn't a machine/x86_64 dir, and AFAICT
newlib does not use the i386 files when compiling for x86_64.

> In the newlib source directory (and also in the upstream distribution), 
> I can spot only an i387 directory for accelerated math. I assume this 
> only works on IA-32, but not on Intel64?

The machine code for i386 is there, but I dont think is used in
barrelfish, since the hakefiles do not seem to include the arch-specific

> I recall that Sun's math library---which we used prior to newlib---had 
> Intel64 math acceleration, but we had to remove it due to licensing 
> constraints.


Kornilios Kourtis

More information about the Barrelfish-users mailing list