john-h-k / MathSharp

A vector and matrix library written in C# using hardware intrinsics
MIT License
695 stars 49 forks source link

Fix for VectorDouble Trigonometry #112

Closed macaba closed 5 years ago

macaba commented 5 years ago

_mm_permute_ps is not equivalent to _mm256_permute_pd whereas _mm256_permute4x64_pd is.

The shuffle fallback had to be disabled due to a similar issue. (See comment)