[LLVMdev] pb05 results for current llvm/dragonegg

Duncan Sands baldrick at free.fr
Fri Apr 6 06:22:49 PDT 2012


On 03/04/12 09:03, Anton Korobeynikov wrote:
> Hi Jack
>
>>                dragonegg degg+vectorize degg+optnz  gfortran
>> ac               12.45       12.45         8.85       8.80
>> gas_dyn          11.72       11.80         4.47       4.26
>> induct           24.02       24.91        12.08      13.65
>> rnflow           32.25       32.35        26.47      24.06
> Any idea what might cause such differences here?
>

With the attached patch to turn x/c into x*(1.0/c) in the code generators
if -ffast-math is enabled, "ac" with LLVM optimizers goes from 40% slower
to 5% slower when compared to "ac" compiled with the GCC optimizers.

Currently LLVM does very little in the way of -ffast-math optimizations.
There's clearly a lot of room for improvement here.

Ciao, Duncan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: recip.diff
Type: text/x-patch
Size: 1238 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120406/14e208d9/attachment.bin>


More information about the llvm-dev mailing list