Dan Sugalski wrote:
I just gave a run of examples/assembly/mops_p.pasm, getting some performance numbers. Here's an interesting timing.$ languages/imcc/imcc examples/assembly/mops_p.pasm
no jit: 24.9 seconds
with jit: 33.6 seconds
This is... odd. And on PPC, FWIW, and I'm not sure if it happens on x86.
Someone care to check it out and poke around a bit?
Iterations: 100000000
Estimated ops: 200000000
done
Elapsed time: 20.521627
M op/s: 9.745816
$ languages/imcc/imcc -j examples/assembly/mops_p.pasm
Iterations: 100000000
Estimated ops: 200000000
done
Elapsed time: 3.261104
M op/s: 61.328924
It depends on implemented functions in JIT. i386 has a bunch of vtable functions JITed (which isn't too hard to do).
leo