evas: silence warning for SSE3 optimization.

This commit is contained in:
Cedric BAIL 2017-06-05 12:00:41 -07:00
parent 3fadc0d5af
commit 29ba7f82e4
1 changed files with 19 additions and 16 deletions

View File

@ -410,25 +410,28 @@ mul3_sym_sse3(__m128i x, __m128i y) {
#endif #endif
#define LOOP_ALIGNED_U1_A48(DEST, LENGTH, UOP, A4OP, A8OP) \ #define LOOP_ALIGNED_U1_A48(DEST, LENGTH, UOP, A4OP, A8OP) \
{ \ { \
while((uintptr_t)DEST & 0xF && LENGTH) UOP \ while((uintptr_t)DEST & 0xF && LENGTH) UOP \
\ \
while(LENGTH) { \ while(LENGTH) { \
switch(LENGTH) { \ switch(LENGTH) { \
case 3: UOP \ case 3: UOP; EINA_FALLTHROUGH; \
case 2: UOP \ case 2: UOP; EINA_FALLTHROUGH; \
case 1: UOP \ case 1: UOP; \
break; \ break; \
case 7: \ case 7: \
case 6: \ EINA_FALLTHROUGH; \
case 5: \ case 6: \
case 4: \ EINA_FALLTHROUGH; \
A4OP \ case 5: \
break; \ EINA_FALLTHROUGH; \
default: \ case 4: \
A8OP \ A4OP \
break; \ break; \
} \ default: \
A8OP \
break; \
} \
} \ } \
} }