[issue4753] Faster opcode dispatch on gcc

Skip Montanaro report at bugs.python.org
Wed Jan 7 16:09:28 CET 2009


Skip Montanaro <skip at pobox.com> added the comment:

Paolo> Various techniques allow to create binary code from the
    Paolo> interpreter binary, by just pasting together the code for the
    Paolo> common interpreters cases and producing calls to the other. But,
    Paolo> guess what, on most platforms (except plain x86, but including
    Paolo> x86_64 and maybe x86 for the shared library case) this does not
    Paolo> work if the copied code includes function calls (on x86_64 that's
    Paolo> due to RIP-relative addressing, and on similar issues on other
    Paolo> platforms).

I don't understand.  I know little or nothing about the details of various
instruction set architectures or linkage methods.  Can you break it down
into a simple example?

Skip

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4753>
_______________________________________


More information about the Python-bugs-list mailing list