[LLVMdev] Performance vs other VMs

Jon Harrop jon at ffconsultancy.com
Fri Jan 30 19:31:39 PST 2009


On Saturday 31 January 2009 02:17:31 BGB wrote:
> interesting, but can you add plain C compiled with the good old-fashined
> GCC or similar to serve as a point of reference as well?...

This is the highest composite score I have been able to get with gcc 4.3.2:

$ gcc -Wall -lm -O3 -march=barcelona -funroll-all-loops *.c -o scimark2
$ ./scimark2
Composite Score:          708.63
FFT             Mflops:   573.76    (N=1024)
SOR             Mflops:   481.74    (100 x 100)
MonteCarlo:     Mflops:   129.06
Sparse matmult  Mflops:   775.57    (N=1000, nz=5000)
LU              Mflops:  1583.00    (M=100, N=100)

One reason is, perhaps, that the version of llvm-gcc that I am using does not 
recognise -march=barcelona for this CPU but gcc does.

-- 
Dr Jon Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/?e



More information about the llvm-dev mailing list