mmx: Fix _mm_empty problems for over_8888_8888/over_8888_n_8888
authorSiarhei Siamashka <siarhei.siamashka@gmail.com>
Mon, 22 Sep 2014 03:30:51 +0000 (06:30 +0300)
committerMatt Turner <mattst88@gmail.com>
Fri, 24 Oct 2014 21:25:30 +0000 (14:25 -0700)
commit594e6a6c93e92fcfb495e987aec5617f6c37f467
tree074569a348fbb2078cdb93f8d56efedec1099404
parenta8669137b9b95b5a6f78c880a51c016a1dd439b4
mmx: Fix _mm_empty problems for over_8888_8888/over_8888_n_8888

Using "--disable-sse2 --disable-ssse3" configure options and
CFLAGS="-m32 -O2 -g" on an x86 system results in pixman "make check"
failures:

    ../test-driver: line 95: 29874 Aborted
    FAIL: affine-test
    ../test-driver: line 95: 29887 Aborted
    FAIL: scaling-test

One _mm_empty () was missing and another one is needed to workaround
an old GCC bug https://gcc.gnu.org/PR47759 (GCC may move MMX instructions
around and cause test suite failures).

Reviewed-by: Matt Turner <mattst88@gmail.com>
pixman/pixman-mmx.c