Re: [linux-audio-dev] Re: Fixing Freeverb and Denormals

2005-01-22 Thread Steve Harris
On Sat, Jan 22, 2005 at 11:22:41AM +, Neil Klepeis wrote: > Hi, > > I compiled the CMT plugins with the g++ options -msse2 and -march=i686 > and the freeverb denormals problem (seen with ardour on a dual Xeon > machine) seems to be _almost_ entirely fixed. Also, I don't see any > weird pro

Re: [linux-audio-dev] Re: Fixing Freeverb and Denormals

2005-01-22 Thread Erik de Castro Lopo
On Sat, 22 Jan 2005 18:36:46 +1100 Erik de Castro Lopo <[EMAIL PROTECTED]> wrote: > On Fri, 21 Jan 2005 23:08:50 + > Neil Klepeis <[EMAIL PROTECTED]> wrote: > > > What exactly am I looking for? > > I'm not too sure, but I'd know if I saw it :-). > > > After using g++ -S, the allpass.o file

Re: [linux-audio-dev] Re: Fixing Freeverb and Denormals

2005-01-22 Thread Neil Klepeis
Steve, OK. I put your denormal-zeroing function w/SSE into the freeverb.cpp code, and when compiling with the SSE option and calling set_denormal_flags() in the activateFreeverb3 function (see below), I get this error wherever asm is called: freeverb/freeverb.cpp: In function `void set_denorma

Re: [linux-audio-dev] Re: Fixing Freeverb and Denormals

2005-01-22 Thread Neil Klepeis
Hi, I compiled the CMT plugins with the g++ options -msse2 and -march=i686 and the freeverb denormals problem (seen with ardour on a dual Xeon machine) seems to be _almost_ entirely fixed. Also, I don't see any weird problems with the ardour host (yet :). But, I still see the DSP load increa

Re: [linux-audio-dev] Re: Fixing Freeverb and Denormals

2005-01-22 Thread Christian Schoenebeck
Es geschah am Samstag 22 Januar 2005 17:49 als Steve Harris schrieb: > On Sat, Jan 22, 2005 at 03:17:28PM +0100, Christian Schoenebeck wrote: > > I think for such an important piece like freeverb it might be worth to > > add architecture dependant assembly optimizations. E.g. with SSE(1) you > > si

Re: [linux-audio-dev] Re: Fixing Freeverb and Denormals

2005-01-22 Thread Steve Harris
On Sat, Jan 22, 2005 at 03:17:28PM +0100, Christian Schoenebeck wrote: > I think for such an important piece like freeverb it might be worth to add > architecture dependant assembly optimizations. E.g. with SSE(1) you simply > have to change the SSE control register to get rid of the denormal pro

Re: [linux-audio-dev] Re: Fixing Freeverb and Denormals

2005-01-22 Thread Christian Schoenebeck
Es geschah am Freitag 21 Januar 2005 18:17 als Neil Klepeis schrieb: > Hi all, > > The denormal problem with freeverb/ardour on P-4's is killing me. > > Since CMT plugin development seems to be a little stagnant, I decided > to take it into my own hands a bit, but I might need a little help from >

Re: [linux-audio-dev] Re: Fixing Freeverb and Denormals

2005-01-21 Thread Erik de Castro Lopo
On Fri, 21 Jan 2005 23:08:50 + Neil Klepeis <[EMAIL PROTECTED]> wrote: > What exactly am I looking for? I'm not too sure, but I'd know if I saw it :-). > After using g++ -S, the allpass.o file, > for example, starts out with: Send me the whole allpass.c file by private mail (address below

[linux-audio-dev] Re: Fixing Freeverb and Denormals

2005-01-21 Thread Neil Klepeis
Erik de Castro Lopo wrote: static inline float undenormalise(volatile float s) { s += 9.8607615E-32f; return s - 9.8607615E-32f; } That looks OK to me, and the optimiser should not discard it because s is volatile. Have you looked at the assembler output? I used this new function and set all