Re:Optimizing compilers reload vector constants needlessly
by jmgao on Tuesday December 06, 2022 @06:45PM
(#33888721)
Intel wrote a header that maps NEON intrinsics onto SSE to help people port to x86 Android: https://github.com/intel/ARM_NEON_2_x86_SSE
[ Parent
| on HN ]
Re:Optimizing compilers reload vector constants needlessly
by teux on Wednesday December 07, 2022 @04:28AM
(#33892360)
Just a heads up, as far as I know that’s more of a porting/learning tool than a production tool.
I remember us looking deeply into this and decided to hand write the SSE intrinsics. They usually map 1:1 but we had some unexpected differences in algorithm output between the x86 binary and the ARM binary when compiled with this.
But this was also back in 2019 or so, maybe it’s better now!