forked from enlightenment/efl
[PATCH] evas: fix typo in LOOP_ALIGNED_U1_A48_SSE3
The old version works because in every function in which this macro is used ``l'' is the length and ``d'' is the destination. This patch prevents future headaches when those constraints no longer hold. Patch by: Jim Kukunas <james.t.kukunas@linux.intel.com> SVN revision: 63856
This commit is contained in:
parent
5be92e7d21
commit
5d45544329
|
@ -348,12 +348,12 @@ mul3_sym_sse3(__m128i x, __m128i y) {
|
||||||
return _mm_and_si128(res, RGB_MASK_SSE3);
|
return _mm_and_si128(res, RGB_MASK_SSE3);
|
||||||
}
|
}
|
||||||
|
|
||||||
#define LOOP_ALIGNED_U1_A48_SSE3(D, LENGTH, UOP,A4OP, A8OP) \
|
#define LOOP_ALIGNED_U1_A48_SSE3(DEST, LENGTH, UOP, A4OP, A8OP) \
|
||||||
{ \
|
{ \
|
||||||
while((uintptr_t)d & 0xF && l) UOP \
|
while((uintptr_t)DEST & 0xF && LENGTH) UOP \
|
||||||
\
|
\
|
||||||
while(l) { \
|
while(LENGTH) { \
|
||||||
switch(l) { \
|
switch(LENGTH) { \
|
||||||
case 3: UOP \
|
case 3: UOP \
|
||||||
case 2: UOP \
|
case 2: UOP \
|
||||||
case 1: UOP \
|
case 1: UOP \
|
||||||
|
|
Loading…
Reference in New Issue