Permalink
Browse files

This might not always be 16-byte aligned.

  • Loading branch information...
hrydgard committed Aug 20, 2017
1 parent 97b8210 commit 393b3697cd7afbecce2c8eb490bd66ff4d2f4725
Showing with 1 addition and 1 deletion.
  1. +1 −1 ext/native/math/dataconv.h
@@ -136,7 +136,7 @@ inline void CopyMatrix4x4(float dest[16], const float src[16]) {
inline void ExpandFloat24x3ToFloat4(float dest[4], const uint32_t src[3]) {
#ifdef _M_SSE
__m128i values = _mm_slli_epi32(_mm_load_si128((const __m128i *)src), 8);
__m128i values = _mm_slli_epi32(_mm_loadu_si128((const __m128i *)src), 8);
_mm_storeu_si128((__m128i *)dest, values);
#elif PPSSPP_PLATFORM(ARM_NEON)
const uint32x4_t values = vshlq_n_u32(vld1q_u32(&gstate.texscaleu), 8);

0 comments on commit 393b369

Please sign in to comment.