-
Notifications
You must be signed in to change notification settings - Fork 260
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
Fix qdmlsl instructions #1195
Fix qdmlsl instructions #1195
Conversation
Looks like the high_n unit tests are incorrect, looking into it |
Thanks. I'm still seeing some test failures:
There is a compile failure with MSVC, maybe that will be helpful: https://ci.appveyor.com/project/nemequ/simde/builds/50436859/job/4lpievni4ibfsa7h#L2440 (our entire MSVC CI matrix failed, not just that version: https://ci.appveyor.com/project/nemequ/simde/builds/50436859) |
Ping @Ryo-not-rio ; any update on this or your other PR? |
@Syonyk If you get a chance, your feedback here would be appreciated |
I believe these patches are correct, but were out of date with head. It looks like you've pulled them forward, so they now mostly have the changes required. I'm happy to take a closer look at this once I have my other fixes pushed, and I can test the updated files in my test suite as well. If ryo-not-rio is not responding to requests to update tests and such, I can make a separate pull request with these changes, and add the proper test vectors. These functions were quite wrong before, though. |
Thank you @Syonyk ; looks like the previous compiler issues have been fixed so I've set this PR to automerge once the remaining CI checks are finished. Of course, if you still have feedback later that would be very welcome! |
Ha, I spoke too soon: MSVC is unhappy: https://ci.appveyor.com/project/nemequ/simde/builds/51262044/job/hojt0jq3999w07j7#L2451
|
Those look like valid errors... I can certainly take a look, but it won't be until next week. I'm nearing the end of my stare-at-screen time for the week. |
The qdmlsl instructions were implemented without any saturation. This has been fixed by utilising existing saturating instructions which are implemented correctly. Unit tests have also been updated to test for saturation. Change-Id: Ia9e5a7bd850bc178920c19e390c17db5a3bfbc4f
No worries, I got a fix |
The qdmlsl instructions were implemented without any saturation. This has been fixed by utilising existing saturating instructions which are implemented correctly.
Unit tests have also been updated to test for saturation.