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

次の言語アップデートでやること #114

Open
kzrnm opened this issue Dec 10, 2023 · 0 comments
Open

次の言語アップデートでやること #114

kzrnm opened this issue Dec 10, 2023 · 0 comments

Comments

@kzrnm
Copy link
Owner

kzrnm commented Dec 10, 2023

NativeAOT で Hardware Intrinsics

ライブラリとは特に関係ないが <IlcInstructionSet>native</IlcInstructionSet> がないと NativeAOT で Avx とか Bmi とか使えない。
次の言語アップデートでは csproj に追加する必要あり。

https://github.com/dotnet/runtime/blob/6de7549ae1872009baade9091be76071f955c47d/src/coreclr/nativeaot/docs/optimizing.md

.NET 7 以前で Native AOT するなら

.NET 7 までは <IlcInstructionSet>avx2,bmi2,fma,pclmul,popcnt,aes</IlcInstructionSet> と直書きする必要あるが次の言語アップデートでは .NET 8 になってるだろうから気にしなくて良い。

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

No branches or pull requests

1 participant