[LLVMdev] Why the same code is much slower in JIT compared to separate executable?
edwintorok at gmail.com
Thu Apr 29 02:39:32 PDT 2010
On 04/29/2010 12:13 PM, Yuri wrote:
> Török Edwin wrote:
>> How long does it take for llc to compile it?
>> Remember that the JIT includes code generation time
> llc takes almost no time (0.00 user as measured by time), code is tiny.
Are you using 2.6 or 2.7, 32-bit or 64-bit?
With 2.7 on x86-64 I get:
So JIT is actually faster here.
With a 32-bit build, I get this with a.out:
And this with the JIT (Release-Asserts):
More information about the llvm-dev