-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[JIT] Enable EGPRs in JIT by adding REX2 encoding to the backend. #106557
Merged
Merged
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
1820567
Ruihan: POC with REX2
Ruihan-Yin d1afc68
resolve comments
Ruihan-Yin 2335aa3
refactor register encoding for REX2
Ruihan-Yin 6578c58
merge REX2 path to legacy path
Ruihan-Yin 01eeb80
Enable REX2 in more instructions.
Ruihan-Yin 690aee3
Avoid repeatedly estimate the size of REX2 prefix
Ruihan-Yin 31d7fb4
Enable REX2 encoding on RI and SV path
Ruihan-Yin a995878
Add rex2 support to rotate and shift.
Ruihan-Yin 74aacf6
CR session.
Ruihan-Yin c330927
Testing infra updates: assert REX2 is enabled.
Ruihan-Yin fbf20d1
revert rcl_N and rcr_N, tp and latency data for these instructions is…
Ruihan-Yin ea02e70
partially enable REX2 on emitOutputAM, case covered: R_AR and AR_R.
Ruihan-Yin c74b801
Adding unit tests.
Ruihan-Yin 34980b4
push, pop, inc, dec, neg, not, xadd, shld, shrd, cmpxchg, setcc, bswap.
Ruihan-Yin 2ffdbeb
bug fix for bswap
Ruihan-Yin 3a729bb
bt
Ruihan-Yin d943b03
xchg, idiv
Ruihan-Yin c8fee9c
Make sure add REX2 prefix if register encoding for EGPRs are being ca…
Ruihan-Yin 6ec0e97
Ensure code size is correctly computed in R_R_I path.
Ruihan-Yin 1d01003
clean up
Ruihan-Yin 1acc219
Change all AddSimdPrefix to AddX86Prefix
Ruihan-Yin 87ad443
div, mulEAX
Ruihan-Yin bb9905a
filter out test from REX2 encoding when using ACC form.
Ruihan-Yin 86083b2
Make sure REX prefix will not be added when emitting with REX2.
Ruihan-Yin dfe8760
resolve comments.
Ruihan-Yin 64761cd
make sure the APX debug knob is only available under debug build.
Ruihan-Yin f1aba62
clean up some out-dated code.
Ruihan-Yin f5cc5a8
enable movsxd
Ruihan-Yin 7ca8433
Enable "Call"
Ruihan-Yin bc4d225
Enable "JMP"
Ruihan-Yin deb3814
resolve merge errors
Ruihan-Yin 0d63230
formatting
Ruihan-Yin 13b8076
remote coredistools.dll for internal tests only
Ruihan-Yin 42c6cfc
bug fix
Ruihan-Yin 2e2eb01
resolve comments
Ruihan-Yin 3d298b7
add more emitter tests.
Ruihan-Yin 25a54d3
resolve comments.
Ruihan-Yin 791b505
clean up some comments and tweak the REX2 stress logic
Ruihan-Yin 094e76b
clean up
Ruihan-Yin 6502ae1
formatting.
Ruihan-Yin 5d3cca2
resolve comments.
Ruihan-Yin 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
partially enable REX2 on emitOutputAM, case covered: R_AR and AR_R.
- Loading branch information
commit ea02e7075497a7e0820b94dd855a7035e8aac8f6
There are no files selected for viewing
This file contains 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 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 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this rather be
ApxIsSupported || StressRex2Encoding
?