diff options
Diffstat (limited to 'pixman')
-rw-r--r-- | pixman/pixman/pixman-mmx.c | 2 | ||||
-rw-r--r-- | pixman/test/rotate-test.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/pixman/pixman/pixman-mmx.c b/pixman/pixman/pixman-mmx.c index fccba9d63..1e6dbe8aa 100644 --- a/pixman/pixman/pixman-mmx.c +++ b/pixman/pixman/pixman-mmx.c @@ -52,7 +52,7 @@ #define CHECKPOINT() #endif -#ifdef USE_ARM_IWMMXT +#if defined USE_ARM_IWMMXT && __GNUC__ == 4 && __GNUC_MINOR__ < 8 /* Empty the multimedia state. For some reason, ARM's mmintrin.h doesn't provide this. */ extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__)) _mm_empty (void) diff --git a/pixman/test/rotate-test.c b/pixman/test/rotate-test.c index bc44281e3..d63a28947 100644 --- a/pixman/test/rotate-test.c +++ b/pixman/test/rotate-test.c @@ -74,7 +74,9 @@ make_image (void) pixman_image_set_transform (image, RANDOM_TRANSFORM()); pixman_image_set_destroy_function (image, on_destroy, bytes); pixman_image_set_repeat (image, PIXMAN_REPEAT_NORMAL); - + + image_endian_swap (image); + return image; } |