This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efl.

View the commit online.

commit 956eeb2b8cedf98c2f2c611bd05590630d7ac54f
Author: Carsten Haitzler <ras...@rasterman.com>
AuthorDate: Thu May 30 09:08:01 2024 +0100

    evas - arm neon asm - fix initial value of some regs/vars to be zero
    
    this has been annoying me for a long time - fix assuming these
    regs/vars are zero. they likely are not. ensure that.
    
    @fix
---
 src/lib/evas/common/evas_map_image_loop.c              | 18 +++++++++---------
 .../common/evas_op_blend/op_blend_mask_color_neon.c    |  6 +++---
 .../common/evas_op_blend/op_blend_pixel_mask_neon.c    |  4 ++--
 3 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/src/lib/evas/common/evas_map_image_loop.c b/src/lib/evas/common/evas_map_image_loop.c
index e44988ebf2..fb8dee33cb 100644
--- a/src/lib/evas/common/evas_map_image_loop.c
+++ b/src/lib/evas/common/evas_map_image_loop.c
@@ -10,7 +10,7 @@
 
 # ifdef SCALE_USING_NEON
 #  ifndef COLBLACK
-   uint16x4_t temp_16x4;
+   uint16x4_t temp_16x4 = { 0, 0, 0, 0 };
    uint16x4_t rv_16x4;
    uint16x4_t val1_16x4;
    uint16x4_t val3_16x4;
@@ -19,8 +19,8 @@
    uint16x8_t val2_val4_16x8;
    uint16x8_t x255_16x8;
    uint32x2_t res_32x2;
-   uint32x2_t val1_val3_32x2;
-   uint32x2_t val2_val4_32x2;
+   uint32x2_t val1_val3_32x2 = { 0, 0 };
+   uint32x2_t val2_val4_32x2 = { 0, 0 };
    uint8x8_t val1_val3_8x8;
    uint8x8_t val2_val4_8x8;
 
@@ -33,7 +33,7 @@
    uint16x4_t c1_val3_16x4;
    uint16x8_t c1_16x8;
    uint16x8_t c1_val3_16x8;
-   uint32x2_t c1_32x2;
+   uint32x2_t c1_32x2 = { 0, 0 };
    uint8x8_t c1_8x8;
    uint8x8_t c1_val3_8x8;
 
@@ -49,7 +49,7 @@
    uint16x8_t c1_val1_16x8;
    uint16x8_t c2_val3_16x8;
    uint16x8_t cv_rv_16x8;
-   uint32x2_t c1_c2_32x2;
+   uint32x2_t c1_c2_32x2 = { 0, 0 };
    uint8x8_t c1_c2_8x8;
    uint8x8_t val3_8x8;
    uint16x8_t val3_16x8;
@@ -247,21 +247,21 @@
 #  ifndef COLBLACK
 #   ifdef COLMUL
    uint16x4_t x255_16x4;
-   uint16x4_t temp_16x4;
+   uint16x4_t temp_16x4 = { 0, 0, 0, 0 };
    uint16x8_t cval_16x8;
    uint32x2_t res_32x2;
    uint8x8_t cval_8x8;
    uint16x4_t c1_16x4;
    uint16x4_t cval_16x4;
    uint16x4_t val1_16x4;
-   uint32x2_t val1_32x2;
+   uint32x2_t val1_32x2 = { 0, 0 };
    uint8x8_t val1_8x8;
 
    x255_16x4 = vdup_n_u16(0xff);
 #    ifdef COLSAME
    uint16x8_t c1_16x8;
    uint16x8_t val1_16x8;
-   uint32x2_t c1_32x2;
+   uint32x2_t c1_32x2 = { 0, 0 };
    uint8x8_t c1_8x8;
 
    c1_32x2 = vset_lane_u32(c1, c1_32x2, 0);
@@ -277,7 +277,7 @@
    uint16x4_t cv_16x4;
    uint16x8_t c1_c2_16x8;
    uint16x8_t val1_16x8;
-   uint32x2_t c1_c2_32x2;
+   uint32x2_t c1_c2_32x2 = { 0, 0 };
    uint8x8_t c1_c2_8x8;
 
    c1_c2_32x2 = vset_lane_u32(c1, c1_c2_32x2, 0);
diff --git a/src/lib/evas/common/evas_op_blend/op_blend_mask_color_neon.c b/src/lib/evas/common/evas_op_blend/op_blend_mask_color_neon.c
index 78f58b5315..916c2d9d73 100644
--- a/src/lib/evas/common/evas_op_blend/op_blend_mask_color_neon.c
+++ b/src/lib/evas/common/evas_op_blend/op_blend_mask_color_neon.c
@@ -30,7 +30,7 @@ _op_blend_mas_c_dp_neon(DATA32 *s EINA_UNUSED, DATA8 *m, DATA32 c, DATA32 *d, in
    uint16x8_t temp1_16x8;
    uint16x8_t x255_16x8;
    uint32x2_t c_32x2;
-   uint32x2_t m_32x2;
+   uint32x2_t m_32x2 = { 0, 0 };
    uint32x4_t a_32x4;
    uint32x4_t ad_32x4;
    uint32x4_t cond_32x4;
@@ -294,7 +294,7 @@ _op_blend_mas_can_dp_neon(DATA32 *s EINA_UNUSED, DATA8 *m, DATA32 c, DATA32 *d,
    uint16x8_t m1_16x8;
    uint16x8_t m_16x8;
    uint32x2_t c_32x2;
-   uint32x2_t m_32x2;
+   uint32x2_t m_32x2 = { 0,  0 };
    uint32x4_t d_32x4;
    uint32x4_t dc_32x4;
    uint32x4_t m_32x4;
@@ -695,7 +695,7 @@ _op_blend_rel_mas_c_dp_neon(DATA32 *s EINA_UNUSED, DATA8 *m, DATA32 c, DATA32 *d
    uint16x8_t temp1_16x8;
    uint16x8_t x255_16x8;
    uint32x2_t c_32x2;
-   uint32x2_t m_32x2;
+   uint32x2_t m_32x2 = { 0, 0 };
    uint32x4_t a_32x4;
    uint32x4_t ad_32x4;
    uint32x4_t cond_32x4;
diff --git a/src/lib/evas/common/evas_op_blend/op_blend_pixel_mask_neon.c b/src/lib/evas/common/evas_op_blend/op_blend_pixel_mask_neon.c
index 317e7d5ad4..cf22d54345 100644
--- a/src/lib/evas/common/evas_op_blend/op_blend_pixel_mask_neon.c
+++ b/src/lib/evas/common/evas_op_blend/op_blend_pixel_mask_neon.c
@@ -13,7 +13,7 @@ _op_blend_pas_mas_dp_neon(DATA32 *s, DATA8 *m, DATA32 c EINA_UNUSED, DATA32 *d,
    uint16x8_t temp1_16x8;
    uint16x8_t x255_16x8;
    uint32_t m_32;
-   uint32x2_t m_32x2;
+   uint32x2_t m_32x2 = {0, 0};
    uint32x4_t a_32x4;
    uint32x4_t ad_32x4;
    uint32x4_t cond_32x4;
@@ -217,7 +217,7 @@ _op_blend_p_mas_dp_neon(DATA32 *s, DATA8 *m, DATA32 c EINA_UNUSED, DATA32 *d, in
    uint16x8_t temp0_16x8;
    uint16x8_t temp1_16x8;
    uint16x8_t x255_16x8;
-   uint32x2_t m_32x2;
+   uint32x2_t m_32x2 = { 0,  0 };
    uint32x4_t a_32x4;
    uint32x4_t ad_32x4;
    uint32x4_t cond_32x4;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to