Skip to content

Commit

Permalink
compile fix for GCC 8
Browse files Browse the repository at this point in the history
  • Loading branch information
svenwoop committed Mar 20, 2018
1 parent 8c684dd commit cb61322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/simd/vboolf4_sse2.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ namespace embree

template<int i0, int i1, int i2, int i3>
__forceinline vboolf4 shuffle(const vboolf4& v) {
return _mm_shuffle_epi32(v, _MM_SHUFFLE(i3, i2, i1, i0));
return _mm_castsi128_ps(_mm_shuffle_epi32(v, _MM_SHUFFLE(i3, i2, i1, i0)));
}

template<int i0, int i1, int i2, int i3>
Expand Down

0 comments on commit cb61322

Please sign in to comment.