Skip to content
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

Some System.Decimal performance improvements #99212

Open
wants to merge 27 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
03b5226
Improve performance of decimal division
Daniel-Svensson Feb 18, 2024
f593c2e
Remove usage of mulx via instrinct on 32bit x86 since it produces wor…
Daniel-Svensson Feb 18, 2024
218b373
update part of Multiply
Daniel-Svensson Feb 20, 2024
f19ef92
remove unintentional file
Daniel-Svensson Feb 22, 2024
e984fc5
Improve division by 64bit value on x64
Daniel-Svensson Feb 22, 2024
f0d62fd
Remove some more 64bit divides for x86
Daniel-Svensson Mar 2, 2024
792c3eb
Call IncreaseScale in one more place
Daniel-Svensson Mar 2, 2024
6dab5f9
add extra paranthesis
Daniel-Svensson Mar 3, 2024
83efb42
review: remove X86.X86Base.X64.DivRem
Daniel-Svensson Mar 4, 2024
a20f37f
Remove BigMul64By32 and add overloads of Math.BigMul instead so that …
Daniel-Svensson Mar 4, 2024
2f6e107
Simplify Div96By32
Daniel-Svensson Mar 4, 2024
14a662b
Remove 64 bit path from Div96By32
Daniel-Svensson Mar 4, 2024
cfcd379
Add Div64By32 helper to avoid check for X86 in multiple places
Daniel-Svensson Mar 11, 2024
0bd0cc3
Use 64*32 multiply in more places
Daniel-Svensson Mar 11, 2024
00ca6c7
Add new IncreaseScale overload to fix issue with Store-To-Load forwar…
Daniel-Svensson Mar 11, 2024
0659dc2
Add back old 32bit code for IncreaseScale
Daniel-Svensson Mar 11, 2024
83191db
6% faster with longer increasescale
Daniel-Svensson Mar 11, 2024
f2ada41
Add back Bmi2.MultiplyNoFlags in Math.BigMul
Daniel-Svensson Mar 12, 2024
46aca48
fix Math.Bigmul compilation
Daniel-Svensson Mar 12, 2024
488c294
switch from Bigmul to (ulong)a * (uint)b in IncreaseScale
Daniel-Svensson Mar 12, 2024
0087c61
Call IncreaseScale(ref Buf12) from IncreaseScale(ref Buf16) for 32bit…
Daniel-Svensson Mar 16, 2024
f2a291e
Merge branch 'main' into deciaml_calc
Daniel-Svensson Apr 19, 2024
baae42d
Add #pragma warning disable CA2252
Daniel-Svensson Jun 27, 2024
7fe82f4
Merge branch 'dotnet:main' into deciaml_calc
Daniel-Svensson Jun 28, 2024
233700b
Merge branch 'main' into deciaml_calc
tannergooding Jul 10, 2024
8baedf7
Merge remote-tracking branch 'upstream/main' into deciaml_calc
Daniel-Svensson Sep 12, 2024
3a97891
Change supression to SYSLIB5004 now that DivRem is marked as [Experim…
Daniel-Svensson Sep 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading