-
-
Notifications
You must be signed in to change notification settings - Fork 34.5k
gh-146393: Optimize float division operations by mutating uniquely-referenced operands in place (JIT only) #146397
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
c846269
gh-146306: Specialize float/float true division in tier 2 optimizer
eendebakpt 97889f5
Mark results of float-producing _BINARY_OP as unique
eendebakpt 67869e4
Fix truediv type propagation for non-numeric types
eendebakpt 5c4e3bf
add guards
eendebakpt 228bfa9
news entry
eendebakpt 8bf12bf
Merge branch 'main' into jit_float_truediv
eendebakpt 46c241e
Merge remote-tracking branch 'upstream/main' into pr/146397
Fidget-Spinner 53dd383
avoid speculative guards
eendebakpt 44ee7f0
fix test
eendebakpt e302112
Merge branch 'main' into jit_float_truediv
eendebakpt d2c03bc
Regenerate pycore_uop_ids.h and pycore_uop_metadata.h with truediv fl…
eendebakpt dba0bb3
Merge branch 'main' into jit_float_truediv
eendebakpt 8615577
Merge branch 'main' into jit_float_truediv
eendebakpt e715dac
review comments
eendebakpt 925841c
Merge branch 'main' into jit_float_truediv
eendebakpt 43f4987
mark more returns as unique
eendebakpt a49018e
Merge branch 'main' into jit_float_truediv
eendebakpt 9cab900
mark more returns as unique
eendebakpt b432e1a
Merge branch 'main' into jit_float_truediv
eendebakpt 0c89654
Merge branch 'main' into jit_float_truediv
eendebakpt fa97ab3
Merge branch 'main' into jit_float_truediv
eendebakpt 3ba0c85
add back recording ops and guards
eendebakpt e7fdb04
simplify
eendebakpt 44666f7
Merge remote-tracking branch 'upstream/main' into pr/146397
Fidget-Spinner 9a8c143
Merge branch 'jit_float_truediv' of github.com:eendebakpt/cpython int…
Fidget-Spinner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
avoid speculative guards
- Loading branch information
commit 53dd383c7da542915893d40b7d4f266e3e2b5039
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.