Fix buggy arm ldr instruction.
authornash <nash@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 24 May 2010 02:16:14 +0000 (02:16 +0000)
committernash <nash@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 24 May 2010 02:16:14 +0000 (02:16 +0000)
The size suffixes are apparetly allowed only on neon instructions.
Thanks to Ben Zores for the bug report + testing.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@49174 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/engines/common/evas_op_blend/op_blend_mask_color_neon.c

index 7664248..09eca0e 100644 (file)
@@ -68,9 +68,8 @@ _op_blend_mas_c_dp_neon(DATA32 *s __UNUSED__, DATA8 *m, DATA32 c, DATA32 *d, int
        "       cmp             %[tmp], %[d]                    \n\t"
        "       ble             "AP"loopout                     \n\t"
        AP"quadloopint:                                         \n\t"
-//     "       vld1.32         d0[0],  [%[m]]!                 \n\t"
-       "       ldr.32          %[x],   [%[m]]                  \n\t"
-       "       add %[m], #4                                    \n\t"
+       "       ldr             %[x],   [%[m]]                  \n\t"
+       "       add             %[m], #4                        \n\t"
        "       cmp             %[x],   #0                      \n\t"
        "       beq             "AP"fastloop                    \n\t"
        "       vmov.32         d0[0],  %[x]                    \n\t"
@@ -232,7 +231,7 @@ _op_blend_mas_can_dp_neon(DATA32 *s __UNUSED__, DATA8 *m, DATA32 c, DATA32 *d, i
 
        AP"quadloopint:                                 \n\t"
                // Load the mask: 4 bytes: It has d0/d1
-       "       ldr.32          %[x],   [%[m]]          \n\t"
+       "       ldr             %[x],   [%[m]]          \n\t"
        "       add             %[m], #4                \n\t"
        "       cmp             %[x],   #0              \n\t"
        "       beq             "AP"fastloop            \n\t"