From: Rafal Krypa <r.krypa@samsung.com>

Subject: Fix Neon build with Thumb-2

    In assembly part of function evas_common_convert_rgba_to_32bpp_rgb_8888_rot_90:
    Don't use 3-operand add instructions (e.g. add r2, r5, #2) as this is
    not supported in unified syntax.
    


SVN revision: 65768
This commit is contained in:
Rafal Krypa 2011-12-01 10:00:44 +00:00 committed by Carsten Haitzler
parent 1593fbca3f
commit 20896e3c14
2 changed files with 11 additions and 10 deletions

View File

@ -31,3 +31,4 @@ Seungsoo Woo <om101.woo@samsung.com>
Youness Alaoui <kakaroto@kakaroto.homelinux.net>
Jim Kukunas <james.t.kukunas@linux.intel.com>
Nicolas Aguirre <aguirre.nicolas@gmail.com>
Rafal Krypa <r.krypa@samsung.com>

View File

@ -104,21 +104,21 @@ evas_common_convert_rgba_to_32bpp_rgb_8888_rot_90 (DATA32 *src, DATA8 *dst, int
asm volatile (
".fpu neon \n\t"
" mov %[s1], %[src] \n\t"
" add %[s1], %[h],lsl #2 \n\t"
" add %[s1], %[s1], %[h],lsl #2 \n\t"
" sub %[s1], #8 \n\t"
" mov %[s2], %[src] \n\t"
" add %[s2], %[h], lsl #3 \n\t"
" add %[s2], %[sjmp], lsr #1 \n\t"
" add %[s2], %[s2], %[h], lsl #3 \n\t"
" add %[s2], %[s2], %[sjmp], lsr #1 \n\t"
" sub %[s2], #8 \n\t"
" mov %[d1], %[dst] \n\t"
" add %[d2], %[d1], %[djmp] \n\t"
" add %[d2], %[w], lsl #2 \n\t"
" add %[d2], %[d2], %[w], lsl #2 \n\t"
" mov %[sadv], %[h], lsl #3 \n\t"
" add %[sadv], %[sjmp], lsl #1 \n\t"
" add %[sadv], %[sadv], %[sjmp], lsl #1\n\t"
" mov %[y], #0 \n\t"
" mov %[x], #0 \n\t"
@ -136,17 +136,17 @@ evas_common_convert_rgba_to_32bpp_rgb_8888_rot_90 (DATA32 *src, DATA8 *dst, int
" mov %[x], #0 \n\t"
" add %[d1], %[djmp] \n\t"
" add %[d1], %[w], lsl #2 \n\t"
" add %[d1], %[d1], %[w], lsl #2 \n\t"
" add %[d2], %[djmp] \n\t"
" add %[d2], %[w], lsl #2 \n\t"
" add %[d2], %[d2], %[w], lsl #2 \n\t"
" mov %[s1], %[src] \n\t"
" add %[s1], %[h], lsl #2 \n\t"
" sub %[s1], %[y], lsl #2 \n\t"
" add %[s1], %[s1], %[h], lsl #2 \n\t"
" sub %[s1], %[s1], %[y], lsl #2 \n\t"
" sub %[s1], #16 \n\t"
" add %[s2], %[s1], %[h], lsl #2 \n\t"
" add %[s2], %[sjmp], lsl #2 \n\t"
" add %[s2], %[s2], %[sjmp], lsl #2 \n\t"
" add %[y], #2 \n\t"