-
Notifications
You must be signed in to change notification settings - Fork 5k
Implement DivRem intrinsic for X86 #66551
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 all commits
Commits
Show all changes
85 commits
Select commit
Hold shift + click to select a range
00da1f4
Add managed api for divrem
huoyaoyuan d679cca
Add NI definition of DivRem
huoyaoyuan 4eba5c5
Fix DivRem to be static
huoyaoyuan 6f8fbbf
Implement DivRem in clrjit
huoyaoyuan 997d8a5
Add tests for DivRem
huoyaoyuan c0c3dd6
Adjust lsra and RMW
huoyaoyuan c08cee7
Use DivRem intrinsic in Math
huoyaoyuan 1804350
Bring lower change from coreclr#37928
huoyaoyuan 46c3f78
Fix signedness of DIV
huoyaoyuan 2dbd2e9
Revert RMW change and fix reg allocation
huoyaoyuan 1b6d09b
Fix import of X64 intrinsic
huoyaoyuan 3ef3600
Fix static in PNSE version
huoyaoyuan acaf211
Fix accidential indent change
huoyaoyuan 728440d
Apply format patch
huoyaoyuan 4eace5d
op3 candidate should be different from op1 and op2
huoyaoyuan 3182ed8
Add guard over AsHWIntrinsic
huoyaoyuan 48c12a4
Disable DivRem intrinsic use for Mono
huoyaoyuan be5b33c
Fix LSRA and invalid assertion
huoyaoyuan d868194
Set RWM information correctly, although totally unused.
huoyaoyuan ff65608
Move multi-reg temp allocation to common helper
huoyaoyuan b31f896
Disable DivRem intrinsic test for Mono.
huoyaoyuan 0bd1327
Fix typo of quotient
huoyaoyuan 51959c0
Merge branch 'main'
huoyaoyuan 8f1d9a2
Merge branch 'main' into divrem
huoyaoyuan f4aece2
Merge branch 'main'
huoyaoyuan 75dda8d
Merge branch 'main' into divrem
huoyaoyuan 43049a9
Use impAssignMultiRegTypeToVar
huoyaoyuan d485b61
Update #ifdef
huoyaoyuan aeb114a
Remove change in LowerBlockStore
huoyaoyuan aa57f26
Adjust assert and helper method
huoyaoyuan 9345e57
Update CheckMultiRegLclVar
huoyaoyuan 65c0af6
fix build errors
kunalspathak 2bfa332
Merge branch 'main' into divrem
huoyaoyuan 7b41fd6
Merge remote-tracking branch 'origin/main' into pr-66551
kunalspathak df922de
Fix some merge conflicts
kunalspathak 924fc42
Fix some errors
kunalspathak 1e7ff05
Fix GCC build error
kunalspathak 62e6c59
jit format
kunalspathak a1b4802
Make the size depending on the struct
kunalspathak d547337
Merge remote-tracking branch 'origin/main' into divrem
kunalspathak 8199acb
Fix the formatting of summary
kunalspathak ed12edb
Remove trailing spaces
kunalspathak 532a8fd
Fix the tests to adopt new model
kunalspathak 281c1b0
Fix MAX_RET_REG_COUNT -> MAX_MULTIREG_COUNT
kunalspathak 97630a2
Exclude from mono run
kunalspathak 491f82e
Add RequiresProcessIsolation
kunalspathak 7487dfc
Merge remote-tracking branch 'origin/main' into divrem
kunalspathak 7a862b2
Merge remote-tracking branch 'origin/main' into divrem
kunalspathak 0fc11c9
Real fix for build break
kunalspathak 8ab6023
Fix the test cases to adopt to the new system
kunalspathak 8d67890
Disable for llvm-fullaot
kunalspathak 0d85848
Also continue disabling for mono
kunalspathak 1fd2b74
Merge remote-tracking branch 'origin/main' into divrem
kunalspathak 18c9787
Disable the test in a different group
kunalspathak b63dea3
Merge remote-tracking branch 'origin/main' into divrem
kunalspathak 1b0e670
fix merge conflict
kunalspathak 7631033
format
kunalspathak c0be00a
fix another merge conflict error
kunalspathak 83192b1
Merge remote-tracking branch 'origin/main' into divrem
kunalspathak b29e1b4
misc changes from review
kunalspathak 82c38a3
fix the replay errors
kunalspathak 61fabe2
jit format
kunalspathak eea804c
Add exclude list in mono/llvmfullaot
kunalspathak ebe8781
Review feedback and fix bug in CheckMultiRegLclVar
kunalspathak 9dc8522
Pass registerCount
kunalspathak 0093b79
review feedback
kunalspathak 8260134
Remove the extra comments
kunalspathak 320270a
Disable tests on mono llvmfullaot runs as well
akoeplinger a98dbde
Add missing case for upper save/restore
kunalspathak 06f0460
Add missing RequiresProcessIsolation
kunalspathak 1b3e851
Revert "Add missing case for upper save/restore"
kunalspathak 9f192ac
Merge remote-tracking branch 'huoyaoyuan/divrem' into divrem
kunalspathak 537f678
Remove RequiresProcessIsolation property
kunalspathak ca32b24
Merge branch 'main' into divrem
kunalspathak e1b5fb3
Replace ref with fakelibs
kunalspathak 6589700
Add references of fakelib to test project
kunalspathak 2a90b4b
Fix CompatibilitySuppressions.xml
kunalspathak aad300a
fix test builds
kunalspathak eb3272c
Remove unneeded extern/using
kunalspathak 39ae98d
Revert "Replace ref with fakelibs"
kunalspathak f8473ec
Revert "Revert "Replace ref with fakelibs""
kunalspathak e00a8c1
Exclude DivRem.csproj
kunalspathak 9e28279
Handle the case to delay-free op3 for op1/op2
kunalspathak 2d4d8d9
Create the DivRem.RefOnly fake CoreLib as a reference assembly
kunalspathak b5e3dd3
Unify AddDelayFreeUses
kunalspathak 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
21 changes: 21 additions & 0 deletions
21
src/coreclr/System.Private.CoreLib/CompatibilitySuppressions.xml
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 |
---|---|---|
@@ -1,3 +1,24 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- https://learn.microsoft.com/en-us/dotnet/fundamentals/package-validation/diagnostic-ids --> | ||
<Suppressions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | ||
<Suppression> | ||
<DiagnosticId>CP0001</DiagnosticId> | ||
<Target>T:Internal.Console</Target> | ||
</Suppression> | ||
<Suppression> | ||
<DiagnosticId>CP0001</DiagnosticId> | ||
<Target>T:System.Runtime.CompilerServices.ICastable</Target> | ||
</Suppression> | ||
<Suppression> | ||
<DiagnosticId>CP0002</DiagnosticId> | ||
<Target>F:System.Resources.ResourceManager.BaseNameField</Target> | ||
</Suppression> | ||
<Suppression> | ||
<DiagnosticId>CP0002</DiagnosticId> | ||
<Target>F:System.Resources.ResourceSet.Reader</Target> | ||
</Suppression> | ||
<Suppression> | ||
<DiagnosticId>CP0014</DiagnosticId> | ||
<Target>M:System.Runtime.InteropServices.Marshal.CreateWrapperOfType(System.Object,System.Type)->object?:[T:System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute]</Target> | ||
</Suppression> | ||
</Suppressions> |
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.
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.