instead of type casting and mixing 32bit and 64bit why not go with a 64bit
float, wouldnt you this way be able to also in a way allow for backwards
compatibility with 32bit processors or am i mistaken. also im noticing with
a testing version of lmms for windows in 64bit that toby linked in google
buzz a while back for testing im noticing a big performance difference
between it and 32bit. load times are quicker loading for example the demo
tracks load alot quicker then on 32bit same with all the plugins they use
etc.
On Tue, Apr 6, 2010 at 3:48 PM, Paul Giblock <[email protected]> wrote:
> Thanks danny
>
> On Apr 5, 2010 2:52 PM, "danny mcrae" <[email protected]> wrote:
>
> I think I was the person who went through the code and tried to standardize
> things around 32 bit a couple of years ago. The performance reasoning for
> choosing one or the other had to do with a noticeable slowdown that was
> occurring due to type casting from mixing 32 with 64 bit. Having everything
> the same made a huge difference in terms of CPU utilization, but otherwise I
> couldn't tell a difference in performance between the two.
>
> I chose 32 bit because at the time LADSPA and VST both used 32 bit
> interfaces, and since it was the type casting that was really killing
> performance, it was best to have everything as 32 bit.
>
> By the way, the biggest boost to performance came from eliminating the
> usage of PI from <math.h> and substituting a 32 bit version instead. That
> and switching to sinf and cosf. The casting that would take place in the
> interface to LADSPA and VST probably wouldn't be that big of a deal. It was
> the loops in the oscillators that were really chewing up the CPU.
>
> Danny
>
>
>
>
> ----- Original Message ----
> From: Carmelo Piccione <[email protected]>
> To: Tommy Raz <tr...
> > Download Intel® Parallel Studio Eval
>
> > Try the new software tools for yourself. Speed compiling, find bugs
> > proactively, and fine-tune a...
> Download Intel® Parallel Studio Eval
>
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune appli...
> Download Intel® Parallel Studio Eval
>
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune appli...
>
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> LMMS-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/lmms-devel
>
>
--
Jonathan Aquilina
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
LMMS-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmms-devel