[LLVMdev] Why the same code is much slower in JIT compared to separate executable?

Török Edwin edwintorok at gmail.com
Thu Apr 29 10:55:18 PDT 2010


On 04/29/2010 08:21 PM, Yuri wrote:
> Török Edwin wrote:
>> Are you using 2.6 or 2.7, 32-bit or 64-bit?
>>   
> 
> I use 2.7 on i386. lli has debug

try a release build (ENABLE_OPTIMIZED=1 DISABLE_ASSERTIONS=1)

> asserts enabled, but I guess this
> shouldn't matter for JIT code speed.
> 
> jit: 11.32 real
> exe: 7.64 user
> 
> Both have -O3 option. Speed should be the same.
> 
> Yuri




More information about the llvm-dev mailing list