-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix instr_ptr branch for uops (?) #111144
Conversation
Co-authored-by: Guido van Rossum <[email protected]>
I'm unhappy with how this turned out; it's too complicated and unprincipled. I feel I don't know which invariants apply when to frame->instr_ptr and frame->next_instr_offset, and the clever exceptions in the code generator and the Tier 1-2 translator. It feels too much like programming by random modifications.
|
Hm, with "uops-forever" I get a bunch of failed tests. So I have to do some more debugging. Running locally, these tests fail:
Interestingly, it seems the Small repro without
|
I think I have a winner. The last fix was setting I'll run the tests with uops-forever, and if that passes, once @iritkatriel approves, I'll push this (without the uops-forever change, of course) to her instr_ptr branch. But I have to repeat that I'm unhappy with the complexity of the machinery here. It feels very subtle when to set
Is it okay for Okay, I've at least talked myself into trying to also set it to zero in the |
See iritkatriel#55 instead. |
Once ready this should be merged into gh-109095.
I'm unhappy with how this turned out; it's too complicated and unprincipled. I feel I don't know which invariants apply when to frame->instr_ptr and frame->next_instr_offset, and the clever exceptions in the code generator and the Tier 1-2 translator.
It feels too much like programming by random modifications.
If this passes all tests it should probably be merged into Irit's instr_ptr branch.