-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[DRAFT] Interp mode testing #120281
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
Closed
Closed
[DRAFT] Interp mode testing #120281
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
483fb13
InterpMode testing
davidwrighton 4cb52e7
InterpMode=3 change for Bash targets
davidwrighton 004aa94
[clr-interp] add support for jmp instruction
davidwrighton 7dad289
Make it build in retail
davidwrighton 91f75b6
[clr-interp] Fix stack alignment of 16 byte or greater aligned struct…
davidwrighton 8403ad4
Merge branch 'main' of https://github.com/dotnet/runtime into InterpM…
davidwrighton c887c98
Enable running all the interp modes
davidwrighton 9c972fe
Merge branch 'main' of https://github.com/dotnet/runtime into InterpM…
davidwrighton eba8129
[clr-interp] Fix issue where switch instructions did not properly han…
davidwrighton b5cc1c1
[clr-interp] ret instructions are similar to unconditional branches i…
davidwrighton 2fbcbd8
Revert "[clr-interp] add support for jmp instruction"
davidwrighton 78e6198
[clr-interp] Add a scheme for adding peephole optimizations for known…
davidwrighton efbc25f
Tweak what interpmode stuff to run
davidwrighton 18bab4d
Merge branch 'main' of https://github.com/dotnet/runtime into InterpM…
davidwrighton 3895e84
Merge branch 'main' into InterpModeTesting
davidwrighton 73aa012
Allow InterpMode to be set in the testenv
davidwrighton 135cf6d
Merge branch 'InterpModeTesting' of https://github.com/davidwrighton/…
davidwrighton 89c7b4b
Merge branch 'main' of https://github.com/dotnet/runtime into InterpM…
davidwrighton 8c50509
Fix issues
davidwrighton f3dab01
Disable CoreCLR tests crashing merged test suites fully interpreted
janvorli ef5ad50
PR feedback - update issue links
janvorli 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
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -454,8 +454,45 @@ HRESULT EEConfig::sync() | |||||
|
|
||||||
| pReadyToRunExcludeList = NULL; | ||||||
|
|
||||||
| #ifdef FEATURE_INTERPRETER | ||||||
| #ifdef FEATURE_JIT | ||||||
| LPWSTR interpreterConfig; | ||||||
| IfFailThrow(CLRConfig::GetConfigValue(CLRConfig::EXTERNAL_Interpreter, &interpreterConfig)); | ||||||
| if (interpreterConfig == NULL) | ||||||
| { | ||||||
| if ((CLRConfig::GetConfigValue(CLRConfig::EXTERNAL_InterpMode) != 0)) | ||||||
| { | ||||||
| enableInterpreter = true; | ||||||
| } | ||||||
| } | ||||||
| else | ||||||
| { | ||||||
| enableInterpreter = true; | ||||||
| } | ||||||
| #else | ||||||
| enableInterpreter = true; | ||||||
| #endif // FEATURE_JIT | ||||||
| #endif // FEATURE_INTERPRETER | ||||||
|
|
||||||
| enableHWIntrinsic = CLRConfig::GetConfigValue(CLRConfig::EXTERNAL_EnableHWIntrinsic); | ||||||
| #ifdef FEATURE_INTERPRETER | ||||||
| if (CLRConfig::GetConfigValue(CLRConfig::EXTERNAL_InterpMode) >= 3) | ||||||
| { | ||||||
| // R2R mode 3 disables all hw intrinsics | ||||||
|
||||||
| // R2R mode 3 disables all hw intrinsics | |
| // InterpMode 3 disables all hw intrinsics |
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
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
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.
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.
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.
Can this be
GetConfigValue(CLRConfig::EXTERNAL_InterpMode) == 3?