Skip to content

Fix a _m128d to _m128i conversion bugg in sse2.hpp

Jacques Xing requested to merge CFD-Xing/nektar:fix/type-conversion-simd into master

Issue/feature addressed

A _mm_i32gather_pd simd function has been inappropriately used in the gather function defined in sse2.hpp, which can result in compilation error due to inappropriate data type conversion.

Proposed solution

Replace the _mm_i32gather_pd function by _mm_i32gather_epi.

Tests

Suggested reviewers

Please suggest any people who would be appropriate to review your code.

Notes

Please add any other information that could be useful for reviewers.

Checklist

  • [ ] Functions and classes, or changes to them, are documented.
  • [ ] User guide/documentation is updated.
  • Changelog is updated.
  • [ ] Suitable tests added for new functionality.
  • Contributed code is correctly formatted. (See the contributing guidelines).
  • [ ] License added to any new files.
  • No extraneous files have been added (e.g. compiler output or test data files).
Edited by Jacques Xing

Merge request reports