From: Cedric BAIL Date: Mon, 5 Jun 2017 19:00:41 +0000 (-0700) Subject: evas: silence warning for SSE3 optimization. X-Git-Tag: upstream/1.20.0~768 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=29ba7f82e43e4a34bbdf43d155b02c371c4f6329;p=platform%2Fupstream%2Fefl.git evas: silence warning for SSE3 optimization. --- diff --git a/src/lib/evas/include/evas_blend_ops.h b/src/lib/evas/include/evas_blend_ops.h index 99b949e..aad724a 100644 --- a/src/lib/evas/include/evas_blend_ops.h +++ b/src/lib/evas/include/evas_blend_ops.h @@ -410,25 +410,28 @@ mul3_sym_sse3(__m128i x, __m128i y) { #endif #define LOOP_ALIGNED_U1_A48(DEST, LENGTH, UOP, A4OP, A8OP) \ - { \ + { \ while((uintptr_t)DEST & 0xF && LENGTH) UOP \ \ while(LENGTH) { \ - switch(LENGTH) { \ - case 3: UOP \ - case 2: UOP \ - case 1: UOP \ - break; \ - case 7: \ - case 6: \ - case 5: \ - case 4: \ - A4OP \ - break; \ - default: \ - A8OP \ - break; \ - } \ + switch(LENGTH) { \ + case 3: UOP; EINA_FALLTHROUGH; \ + case 2: UOP; EINA_FALLTHROUGH; \ + case 1: UOP; \ + break; \ + case 7: \ + EINA_FALLTHROUGH; \ + case 6: \ + EINA_FALLTHROUGH; \ + case 5: \ + EINA_FALLTHROUGH; \ + case 4: \ + A4OP \ + break; \ + default: \ + A8OP \ + break; \ + } \ } \ }