Re: [Qemu-devel] Polymorphic Inline Caching

2014-09-06 Thread Xin Tong
I've collected some data running X86_64 SPECINT2006 guest on qemu-system-x86_64. Indirect branches and calls are responsible for an average 16.49% of all the code cache exits on the measured workloads with the highest of 33.2% in 464.h264ref. Every code cache exit is followed by a TB lookup and c

[Qemu-devel] Polymorphic Inline Caching

2014-09-04 Thread Xin Tong
Hi I would like to implement a well known indirect branch optimization named Polymorphic Inline Caching (PIC) in QEMU. PIC relies on software speculation on the likely target of the indirect branch to speed up its dispatch. Currently, QEMU generates a EOB (end of block) after indirect branches an