relative occurency of opcodes
18 Jun
2008
18 Jun
'08
2:38 a.m.
I just performed simple statistics on hacked pypy-c. It seems that some opcodes are very often repeated by something else. It might make sense to create some super opcodes which combine those two. Here are statistics for translating gcbench: http://codespeak.net/svn/user/fijal/opcodes.txt
18 Jun
18 Jun
3:30 p.m.
Hi Maciej, On Wed, Jun 18, 2008 at 04:38:29AM +0200, Maciej Fijalkowski wrote:
I just performed simple statistics on hacked pypy-c. It seems that some opcodes are very often repeated by something else. It might make sense to create some super opcodes which combine those two.
Someone did that for CPython already. This is where the PREDICT() macros in Python/ceval.c come from - they are CPython's solution to the same measures. Armin
5992
Age (days ago)
5992
Last active (days ago)
1 comments
2 participants
participants (2)
-
Armin Rigo
-
Maciej Fijalkowski