evas - fix long standing c "fallback" code "simd" (2 register) multiply

This commit is contained in:
Yury Usischev 2013-07-23 21:15:19 +09:00 committed by Carsten Haitzler (Rasterman)
parent 07dfac45e8
commit 3a5df752e6
3 changed files with 6 additions and 1 deletions

View File

@ -2,6 +2,10 @@
* Evas: fix infinite loop if app use ecore evas image
2013-07-23 Yury Usischev
* Fix a long-standing off-by-1 in the C MUL4_SYM "simd" multiplier.
2013-07-22 José Roberto de Souza
* Edje: Refactor signal callbacks flags

1
NEWS
View File

@ -317,6 +317,7 @@ Fixes:
- Fix jpeg loader cannot deal with exif information correctly.
- Fix issue when parsing formats with quotes.
- Fix infinite loop if app use ecore evas image
- Fix a long-standing off-by-1 in the C "simd" multiplier.
* Ecore:
- Don't leak fd on exec.
- Fix fd handler increase issue when ecore_pipe_add/del is called repeatedly.

View File

@ -106,7 +106,7 @@ extern const DATA32 ALPHA_256;
#define MUL4_SYM(x, y) \
( ((((((x) >> 16) & 0xff00) * (((y) >> 16) & 0xff00)) + 0xff0000) & 0xff000000) + \
((((((x) >> 8) & 0xff00) * (((y) >> 16) & 0xff)) + 0xff00) & 0xff0000) + \
((((((x) & 0xff00) * ((y) & 0xff00)) + 0xff00) >> 16) & 0xff00) + \
((((((x) & 0xff00) * ((y) & 0xff00)) + 0xff0000) >> 16) & 0xff00) + \
(((((x) & 0xff) * ((y) & 0xff)) + 0xff) >> 8) )
#define MUL3_SYM(x, y) \