-
Notifications
You must be signed in to change notification settings - Fork 5.4k
JIT: Emit mulx for GT_MULHI and GT_MUL_LONG if BMI2 is available #116198
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 23 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
b6fbd02
WIP: Emit mulx for GT_MULHI
Daniel-Svensson b8d054f
* Handle containment for GT_MUL_LONG on x86
Daniel-Svensson 4ae76cb
update comments
Daniel-Svensson 9f84b3f
merge upstream/main
Daniel-Svensson 1266195
update after merge
Daniel-Svensson 8929847
* remove move instruction since it is handled by lsra
Daniel-Svensson f5d77fc
minor formatting fixes
Daniel-Svensson feeb24b
clenaup
Daniel-Svensson 59ecc67
Ensure magic number for GT_MULHI for division with constant, is put i…
Daniel-Svensson 0ff6c20
only swap operands for GT_MULHI and GT_MUL_LONG
Daniel-Svensson e56ee0a
fix formatting
Daniel-Svensson ce9e87b
Merge remote-tracking branch 'upstream/main' into x86_bmi_mulhi
Daniel-Svensson 691e442
Fix operand order
Daniel-Svensson 280022a
merge upstream/main
Daniel-Svensson 46ee7af
Fixes after merge:
Daniel-Svensson 7854142
fix review comment
Daniel-Svensson 5f848c6
kill rdx register for mulx instead of specifying as fixed register fo…
Daniel-Svensson 82ece23
fix format
Daniel-Svensson 04450b6
remove register preference for mul, it does only make sense for exten…
Daniel-Svensson 45625b7
fix formatting
Daniel-Svensson 7c8dcfb
remove swap in lowering
Daniel-Svensson 8ab4c9d
update fixed reg in lowering for division by constant
Daniel-Svensson cbd5824
change from isUsedFromMemory to isContained()
Daniel-Svensson ab4ec11
Fix review comments
Daniel-Svensson 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
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
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
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
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.