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.
Thanks dannyOn Apr 5, 2010 2:52 PM, "danny mcrae" <email@example.com> 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.
To: Tommy Raz <tr...
----- Original Message ----
From: Carmelo Piccione <firstname.lastname@example.org>> 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 bugsproactively, and fine-tune appli...Download IntelŪ Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugsproactively, 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.
LMMS-devel mailing list