Skip to content

Commit

Permalink
Fix a SIMD instruction mistake that regarding integer rounding.
Browse files Browse the repository at this point in the history
  • Loading branch information
ueshita authored and durswd committed Feb 27, 2022
1 parent db42eb0 commit 9e73f81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dev/Cpp/Effekseer/Effekseer/SIMD/Bridge_SSE.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace Effekseer
namespace SIMD
{

inline Int4 Float4::Convert4i() const { return _mm_cvtps_epi32(s); }
inline Int4 Float4::Convert4i() const { return _mm_cvttps_epi32(s); }

inline Int4 Float4::Cast4i() const { return _mm_castps_si128(s); }

Expand Down

0 comments on commit 9e73f81

Please sign in to comment.