OSDN Git Service

This patch rewrites common_invokeOld for the x86 fast interpreter. The implementation...
authorJohnnie Birch <johnnie.l.birch.jr@intel.com>
Tue, 10 Feb 2009 23:41:06 +0000 (15:41 -0800)
committerJohnnie Birch <johnnie.l.birch.jr@intel.com>
Tue, 10 Feb 2009 23:41:06 +0000 (15:41 -0800)
commitc4080f6bdeda19901a508cc75f96ac7e07903918
tree61bd8f1a2123821c535273c7025f8914ca3d65fa
parentcd18d5743d1957b1c1f57c0abe7ea28187c63a9f
This patch rewrites common_invokeOld for the x86 fast interpreter. The implementation is similar to what is done for the armv5 code.
Testing shows the patch provides a performance boost to benchmarks such as Caffeine Mark. When testing the simulator build on an Intel(R) Core(TM)2 Quad  CPU   Q9550  @ 2.83GHz, the string score for Caffeine Mark improved by 6%, the Method score improved by 12% and the overall score improved by 3%.

This patch is one of our incremental efforts to merge some Intel's x86 fast interpreter features in http://review.source.android.com/Gerrit#change,6041 to the mterp/x86 directory.
vm/mterp/out/InterpAsm-x86.S
vm/mterp/x86/OP_INVOKE_DIRECT.S
vm/mterp/x86/OP_INVOKE_INTERFACE.S
vm/mterp/x86/OP_INVOKE_STATIC.S
vm/mterp/x86/OP_INVOKE_SUPER.S
vm/mterp/x86/OP_INVOKE_SUPER_QUICK.S
vm/mterp/x86/OP_INVOKE_VIRTUAL.S
vm/mterp/x86/OP_INVOKE_VIRTUAL_QUICK.S
vm/mterp/x86/footer.S