dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
14.95k stars 4.65k forks source link

Port FEATURE_DOUBLE_ALIGNMENT_HINT to native AOT #101284

Open MichalStrehovsky opened 4 months ago

MichalStrehovsky commented 4 months ago

Apparently X86 has very special allocation behaviors for arrays of doubles.

We have tests testing this in \JIT\Methodical\doublearray\dblarray2.cs

Found in #100331.

dotnet-policy-service[bot] commented 4 months ago

Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas See info in area-owners.md if you want to be subscribed.

jkotas commented 2 months ago

104781 should make the implementation a bit simpler.