Uh oh!
There was an error while loading. Please reload this page.
GH-128563: Generate opcode = ... in instructions that need opcode - #129608
Conversation
opocde = ... in instructions that need opcodeopcode = ... in instructions that need opcodeThere was a problem hiding this comment.
I have a feeling if you remove the uint8_t opcode in the outer loop, and just define it as int opcode = XXX in each bytecode case, there will be a speedup in the normal interpreter as well (or at least, there will be less pressure on the register allocator), as it will free up a single outer variable that is live across all basic blocks.
markshannon
commented
Feb 3, 2025
We can't do that for the switch case, but we could for computed gotos. |
Fidget-Spinner
commented
Feb 3, 2025
Don't think it's worth diverging the two over that. Let's just keep it simple then and do this. |
bedevere-bot
commented
Feb 3, 2025
|
…pcode` (pythonGH-129608) * Remove support for GO_TO_INSTRUCTION
This PR:
opcode, generateopcode = ...at the start of the instructionopcodeby using micro-opsGO_TO_INSTRUCTIONmacro as it is no longer needed.This means that we no longer need to pass the
opcodeparameter in tailcalls.Performance is neutral.