Investigate and implement better codegen for Matrix4x4 #9420
Labels
area-CodeGen-coreclr
CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
enhancement
Product code improvement that does NOT require public API changes/additions
optimization
tenet-performance
Performance related issue
Milestone
Using Matrix4x4 by value methods are significantly slower than using corresponding
ref
overloads. See dotnet/corefx#25388 (comment).We've rejected adding these
ref
overloads to System.Numerics.Vectors to avoid API clutter and because the performance benefit of theref
overloads is not significant.However, the benchmarks showed a benefit for Matrix4x4. We should investigate how much of the Matrix4x4ByRef benefit can be matched with better codegen for the ByValue case. And then implement any improvements.
cc @CarolEidt
category:cq
theme:vector-codegen
skill-level:expert
cost:medium
The text was updated successfully, but these errors were encountered: