Skip to content

performace optimize: Branchless optimize Min and Max and Clamp in MathHelper with assembly for above .NET Core 3.0 - #866

Closed
7aGiven wants to merge 1 commit into
FNA-XNA:masterfrom
7aGiven:MathMin
Closed

7aGiven wants to merge 1 commit into
FNA-XNA:masterfrom
7aGiven:MathMin

Conversation

@7aGiven

@7aGiven 7aGiven commented Oct 17, 2026

Copy link
Copy Markdown
Contributor
  • I confirm that I am the author of this code and release it to the FNA project under the Ms-PL license. This contribution does not contain code from other sources, including code generated by a Large Language Model ("AI").

  • I confirm that no changes being submitted have been derived from decompiled software, be it from Microsoft XNA or other proprietary software.

I confirm it's more effective for x86 arch above .NET Core 3.0, But FNA maybe no need it. So just let it here.

@7aGiven

7aGiven commented Oct 17, 2026

Copy link
Copy Markdown
Contributor Author

I found a website that allow view asm for C# code

https://godbolt.org/

…hHelper with assembly for above .NET Core 3.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants