From: Siarhei Siamashka Date: Wed, 2 Sep 2009 16:46:47 +0000 (+0300) Subject: ARM: Remove fallback to ARMv6 implementation from NEON delegate chain X-Git-Tag: 1.0_branch~782 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=91232ee40d8499cb91ad27717f751f15c805b4a6;p=profile%2Fivi%2Fpixman.git ARM: Remove fallback to ARMv6 implementation from NEON delegate chain This can help to fix build problems with '-mthumb' gcc option in CFLAGS. ARMv6 optimized code can't be compiled for thumb (because of its inline assembly) and gets automatically disabled in configure. Reference to it from NEON optimized code resulted in linking problems. Every ARMv6 optimized fast path function also has a better NEON counterpart, so there is no need to fallback to ARMv6. Shorter delegate chain should additionally result in a bit better performance. --- diff --git a/pixman/pixman-arm-neon.c b/pixman/pixman-arm-neon.c index 422b95e..0a29e50 100644 --- a/pixman/pixman-arm-neon.c +++ b/pixman/pixman-arm-neon.c @@ -2767,8 +2767,8 @@ arm_neon_fill (pixman_implementation_t *imp, pixman_implementation_t * _pixman_implementation_create_arm_neon (void) { - pixman_implementation_t *simd = _pixman_implementation_create_arm_simd (); - pixman_implementation_t *imp = _pixman_implementation_create (simd); + pixman_implementation_t *general = _pixman_implementation_create_fast_path (); + pixman_implementation_t *imp = _pixman_implementation_create (general); imp->composite = arm_neon_composite; #if 0 /* this code has some bugs */