relative occurency of opcodes
June 17, 2008
10:38 p.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
June 2008
11:30 a.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
6357
Age (days ago)
6357
Last active (days ago)
1 comments
2 participants
participants (2)
-
Armin Rigo -
Maciej Fijalkowski