You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
changed the title [-]Add LOAD_FAST__LOAD_ATTR_INSTACE_VALUE combined opcode[/-][+]Add LOAD_FAST__LOAD_ATTR_INSTANCE_VALUE combined opcode[/+]on Mar 2, 2022
The adapter interpreter is strictly a one-instruction-at-a-time optimizer, and does not specialize superinstructions. LOAD_FAST__LOAD_ATTR_INSTANCE_VALUE is clearly a specialized superinstruction, so we should leave it for tier-2.
Any tier-2 interpreter will have its own set of superinstructions, presumably automatically generated.
Activity
sweeneyde commentedon Feb 22, 2022
See faster-cpython/ideas#291
markshannon commentedon Feb 24, 2022
New changeset a52d252 by Dennis Sweeney in branch 'main':
bpo-46823: Implement LOAD_FAST__LOAD_ATTR_INSTANCE_VALUE superinstruction (GH-31484)
a52d252
[-]Add LOAD_FAST__LOAD_ATTR_INSTACE_VALUE combined opcode[/-][+]Add LOAD_FAST__LOAD_ATTR_INSTANCE_VALUE combined opcode[/+]brandtbucher commentedon Mar 3, 2022
Reopening since this needed to be removed for #31640.
markshannon commentedon Aug 15, 2022
The adapter interpreter is strictly a one-instruction-at-a-time optimizer, and does not specialize superinstructions.
LOAD_FAST__LOAD_ATTR_INSTANCE_VALUEis clearly a specialized superinstruction, so we should leave it for tier-2.Any tier-2 interpreter will have its own set of superinstructions, presumably automatically generated.