[LLVMdev] Another compiler shootout
Jon Harrop
jon at ffconsultancy.com
Mon Dec 15 20:37:17 PST 2008
On Tuesday 16 December 2008 04:26:40 Jon Harrop wrote:
> I am unfamiliar with x86 assembler but I believe the problem is that LLVM
> is calling a function for fsqrt rather than using the x86 op-code. Should I
> be passing some command line arguments or using a newer llvm-gcc to get it
> to emit fsqrt or is that not yet implemented?
This may also explain the one anomalous result here:
http://leonardo-m.livejournal.com/73732.html
On the nbody shootout because that also has a sqrt at its core:
double distance = sqrt(dx * dx + dy * dy + dz * dz);
--
Dr Jon Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/?e
More information about the llvm-dev
mailing list