tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: -mfpmath=387 on sparc64



On Thu, Jan 23, 2014 at 11:10:11PM +0000, David Laight wrote:
> On Thu, Jan 23, 2014 at 10:33:36PM +0000, John Klos wrote:
> > Hi,
> > 
> > Compiling devel/SDL2 on NetBSD/sparc64 fails with:
> > 
> > ===> Building for SDL2-2.0.1nb1
> > Scanning dependencies of target SDL2
> > [  0%] Building C object CMakeFiles/SDL2.dir/src/SDL_assert.c.o
> > cc1: error: unrecognized command line option "-mfpmath=387"
> > *** Error code 1
> > 
> > Does someone have a few minutes to fix that?
> 
> Ah - they are trying to us 80bit 387 maths on amd64.
> Instead of 64bit xmm maths?

It doesn't really make sense on amd64 either, given that for double SSE2
is significantly faster...

Joerg


Home | Main Index | Thread Index | Old Index