-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arm neon: avoid GCC 11 vst1_*_x4 built-in functions
The vst1_*_x4 built-in functions in GCC 11 produce incorrect results, as following exanple, this patch circumvents the issue by avoiding these functions in GCC 11 and earlier versions. float32x2x4_t val = {{ {0.10f, 0.20f}, {0.30f, 0.40f}, {0.50f, 0.60f}, {0.70f, 0.80f} }}; float result[16]; vst1_f32_x4(result, val); get result = {0.100000 0.200000 0.500000 0.600000 0.000000 0.000000 0.000000 0.000000} Signed-off-by: LI Qingwu <[email protected]>
- Loading branch information
Showing
2 changed files
with
28 additions
and
13 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