-
Notifications
You must be signed in to change notification settings - Fork 5.2k
arm64: Refactor GenerateHWIntrinsicTests_Arm.cs #118380
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
base: main
Are you sure you want to change the base?
arm64: Refactor GenerateHWIntrinsicTests_Arm.cs #118380
Conversation
jonathandavies-arm
commented
Aug 5, 2025
- Added a struct for the test groups and templates
- Moved Isa & LoadIsa values from each test to the test group
- Tidied up the Proccess* functions
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch |
@dotnet/arm64-contrib @amanasifkhalid This is cleaner than the existing code, but it's a lot of code churn. The templates are just a each a one liner, then the same two column changes in all the Because of the mechanical nature, and it's only the testing, this should be fairly low risk. But it's still a lot of code. I wonder if this should be left to .NET11? |
Unless anyone else has cold feet, I'm fine with taking this in .NET 10. @jonathandavies-arm could you PTAL at the merge conflicts? Once we get a CI run in, it should be easy to see if this regresses anything. |
Rebasing this is a pain and also is a pain for anyone with WIP to rebase on top. Given we're hitting .NET10 window, I suggest in order we:
|
Agreed, sounds like a good plan |
- Added a struct for the test groups and templates - Moved Isa & LoadIsa values from each test to the test group - Tidied up the Proccess* functions
eb44ef1
to
1f8e372
Compare
Sorry for the force push but merging was confusing. |
@jonathandavies-arm, do you need help with resolving conflicts?
|
#120291 unblocks this PR. |
@JulieLeeMSFT #118957 is also waiting to be merged and changes Sve2Tests.cs. I will start resolving the conflicts but I'll wait for this other PR before pushing it. |
Thanks for pointing it out. Asked Tanner to review #118957. Is it all you need? |