om-synth
[Top][All Lists]
Advanced

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

Re: [Om-synth] sse optimization on k8


From: Garett Shulman
Subject: Re: [Om-synth] sse optimization on k8
Date: Fri, 19 May 2006 12:34:09 -0600
User-agent: Thunderbird 1.5.0.2 (Windows/20060308)

Garett Shulman wrote:
Hello, I am compiling Om from CVS on an opteron. I can compile fine without sse optimization. However when I try to optimize I get an error posted below. Any ideas? Thanks. -Garett

By configuring with CFLAGS="-march=k8 -msse3" and then hacking src/engine/Makefile to remove -fPIC I was able to compile.
I am doing:
>./configure CFLAGS="-march=k8 -mfpmath=sse"
...
configure: Building with flags: -march=k8 -mfpmath=sse -DNDEBUG -DNDEBUG -pipe -fmessage-length=139 -fdiagnostics-show-location=every-line

>make
...
make[4]: Entering directory `/root/src/system/om-cvs/om-synth/src/engine'
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include -I/usr/include/alsa -I../../src/common - fno-exceptions -fno-rtti -fPIC -march=k8 -mfpmath=sse -DNDEBUG -DNDEBUG -pipe -fmessage-length=139 -fdiagnostics-show-location=every-line -MT main.o -MD -MP -MF ".deps/main.Tpo" \
 -c -o main.o `test -f 'main.cpp' || echo './'`main.cpp; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; \
else rm -f ".deps/main.Tpo"; exit 1; \
fi
util.h: In function 'void Om::set_denormal_flags()':
util.h:40: error: can't find a register in class 'BREG' while reloading 'asm' util.h:44: error: can't find a register in class 'BREG' while reloading 'asm' util.h:56: error: can't find a register in class 'BREG' while reloading 'asm'
make[4]: *** [main.o] Error 1
make[4]: Leaving directory `/root/src/system/om-cvs/om-synth/src/engine'



_______________________________________________
Om-synth mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/om-synth





reply via email to

[Prev in Thread] Current Thread [Next in Thread]