remove few obsolete TODO about aligned loads in SSE2

Change-Id: I3628602942ea2ce34dbcb85975d15afc1041f76c
This commit is contained in:
Pascal Massimino 2015-12-15 23:00:41 -08:00
parent e0c0bb3480
commit 2dee2966df
2 changed files with 0 additions and 6 deletions

View File

@ -1238,8 +1238,6 @@ static int TTransform(const uint8_t* inA, const uint8_t* inB,
// Vertical pass and difference of weighted sums. // Vertical pass and difference of weighted sums.
{ {
// Load all inputs. // Load all inputs.
// TODO(cduvivier): Make variable declarations and allocations aligned so
// we can use _mm_load_si128 instead of _mm_loadu_si128.
const __m128i w_0 = _mm_loadu_si128((const __m128i*)&w[0]); const __m128i w_0 = _mm_loadu_si128((const __m128i*)&w[0]);
const __m128i w_8 = _mm_loadu_si128((const __m128i*)&w[8]); const __m128i w_8 = _mm_loadu_si128((const __m128i*)&w[8]);
@ -1317,8 +1315,6 @@ static WEBP_INLINE int DoQuantizeBlock(int16_t in[16], int16_t out[16],
__m128i packed_out; __m128i packed_out;
// Load all inputs. // Load all inputs.
// TODO(cduvivier): Make variable declarations and allocations aligned so that
// we can use _mm_load_si128 instead of _mm_loadu_si128.
__m128i in0 = _mm_loadu_si128((__m128i*)&in[0]); __m128i in0 = _mm_loadu_si128((__m128i*)&in[0]);
__m128i in8 = _mm_loadu_si128((__m128i*)&in[8]); __m128i in8 = _mm_loadu_si128((__m128i*)&in[8]);
const __m128i iq0 = _mm_loadu_si128((const __m128i*)&mtx->iq_[0]); const __m128i iq0 = _mm_loadu_si128((const __m128i*)&mtx->iq_[0]);

View File

@ -240,8 +240,6 @@ static WEBP_INLINE int DoQuantizeBlock(int16_t in[16], int16_t out[16],
__m128i packed_out; __m128i packed_out;
// Load all inputs. // Load all inputs.
// TODO(cduvivier): Make variable declarations and allocations aligned so that
// we can use _mm_load_si128 instead of _mm_loadu_si128.
__m128i in0 = _mm_loadu_si128((__m128i*)&in[0]); __m128i in0 = _mm_loadu_si128((__m128i*)&in[0]);
__m128i in8 = _mm_loadu_si128((__m128i*)&in[8]); __m128i in8 = _mm_loadu_si128((__m128i*)&in[8]);
const __m128i iq0 = _mm_loadu_si128((const __m128i*)&mtx->iq_[0]); const __m128i iq0 = _mm_loadu_si128((const __m128i*)&mtx->iq_[0]);