relative occurency of opcodes
June 18, 2008
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
June 18, 2008
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
6688
Age (days ago)
6688
Last active (days ago)
1 comments
2 participants
participants (2)
-
Armin Rigo -
Maciej Fijalkowski