-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve _mm_dp_ps and its test cases
This commit improves _mm_dp_ps and its test cases with the following aspects: 1. remove Kahan algorithm precision enhancement > Dot Product operations are not specified in IEEE-754. When neither FTZ nor DAZ are enabled, the dot product instructions resemble sequences of IEEE-754 multiplies and adds (with rounding at each stage) As stated in Intel® SSE4 Programming Reference. the dot product does not apply Kahan algorithm. To align with IEEE-754 result, the Kahan algorithm used for precision enhancement should be removed. 2. apply shortcut when imm is 0xXF and environment is ARMv8-A Apply shortcut when imm is 0xXF and environment is ARMv8-A. Also, add corredponding tests when imm is 0xXF. 3. add more tests More tests are added for testing the possible combinations of imm. Close #595.
- Loading branch information
Showing
2 changed files
with
55 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters