[PD-dev] Pd-cvs Digest, Vol 92, Issue 2

Miller Puckette msp at ucsd.edu
Thu Oct 4 18:32:23 CEST 2012


... so if -ffast-math is already turned on in pd extended I think it's
a fortiori safe to turn it on in vanilla :)

Miller

On Wed, Oct 03, 2012 at 08:28:38AM -0700, Miller Puckette wrote:
> I have to think about thi one a little...  nobody could ever test -fastmath
> for all architectures.  The danger I see is that some externals might
> break.  Maybe I should just leve it on during the 0.44 test phase and hope
> I hear back if it's breaking things :)
> 
> The reason for putting it in is that I stil get situations where Pd grinds
> to a halt handling underflow interrupts - it's now a problem on the Pi.
> 
> cheers
> Miller
> 
> On Wed, Oct 03, 2012 at 03:16:22PM +0100, Claude Heiland-Allen wrote:
> > 
> > On 03/10/12 11:00, pd-cvs-request at iem.at wrote:
> > >     add -ffast-math flag to CC lines for linus and Mac
> > 
> > Have you checked that this is safe on all architectures?
> > 
> > IIRC, it optimizes with the assumption that everything is finite and
> > not NaN, among other things.
> > 
> > I know when I wrote 'tilde' (compiler from Pd dsp to C++), which
> > incidentally used 'double' all the way through, I couldn't always
> > use -ffast-math because it broke some patches very audibly.  I
> > didn't have time to debug the issue, so I just removed the flag
> > globally.
> > 
> > https://gitorious.org/maximus/tilde
> > (currently unmaintained / dormant, but might still work)
> > 
> > 
> > Claude
> > -- 
> > http://mathr.co.uk
> 
> _______________________________________________
> Pd-dev mailing list
> Pd-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev



More information about the Pd-dev mailing list