arm neon qdmlal: fix saturation (#1194)
* Fix qdmlal instructions
qdmlal instructions were implemented without saturation.
This has been fixed by utilising existing SIMDe saturating mult and add instructions.
Unit tests have been updated to test for all possible saturation cases.
- Fix qdmlal, qdmlal_n, qdmlal_lane, qdmlal_high, qdmlal_high_n and qdmlal_high_lane
- Update unit tests for qdmlal, qdmlal_n, qdmlal_lane, qdmlal_high, qdmlal_high_n, qdmala_high_lane
Change-Id: I8d0d8cfba3f8d5203f2028efbe74b00c51485c61
* arm neon qdmlal_high_lane: unroll SIMDE_CONSTIFY for testing macro implemented functions with MSVC
---------
Co-authored-by:
Michael R. Crusoe <michael.crusoe@gmail.com>
Showing
Please register or sign in to comment