mirror of
https://github.com/amd/blis.git
synced 2026-05-11 17:50:00 +00:00
Addressed uninitialized variables in trsm small algo
1. Addressed uninitialized variables reported in coverity for all datatypes of trsm small algo. AMD-Internal: [CPUPL-2542] Change-Id: Ifae57ef6435493942732526720e6a9d6bec70e71
This commit is contained in:
committed by
Satish Kumar Nuggu
parent
985c3f0fe1
commit
754627eae9
@@ -8445,6 +8445,8 @@ BLIS_INLINE err_t bli_dtrsm_small_XAltB_XAuB
|
||||
|
||||
__m128d xmm5;
|
||||
|
||||
xmm5 = _mm_setzero_pd();
|
||||
|
||||
/*
|
||||
Performs solving TRSM for 6 rows at a time from 0 to n/6 in steps of d_nr
|
||||
a. Load and pack A (a01 block), the size of packing 6x6 to 6x (n-6)
|
||||
@@ -10846,6 +10848,8 @@ BLIS_INLINE err_t bli_dtrsm_small_XAutB_XAlB
|
||||
|
||||
__m128d xmm5;
|
||||
|
||||
xmm5 = _mm_setzero_pd();
|
||||
|
||||
/*
|
||||
Performs solving TRSM for 6 rows at a time from 0 to n/6 in steps of d_nr
|
||||
a. Load and pack A (a01 block), the size of packing 6x6 to 6x (n-6)
|
||||
@@ -13136,6 +13140,8 @@ BLIS_INLINE err_t bli_dtrsm_small_AltXB_AuXB
|
||||
|
||||
__m128d xmm5;
|
||||
|
||||
xmm5 = _mm_setzero_pd();
|
||||
|
||||
gint_t required_packing_A = 1;
|
||||
mem_t local_mem_buf_A_s = {0};
|
||||
double *D_A_pack = NULL;
|
||||
@@ -15138,6 +15144,8 @@ BLIS_INLINE err_t bli_dtrsm_small_AutXB_AlXB
|
||||
|
||||
__m128d xmm5;
|
||||
|
||||
xmm5 = _mm_setzero_pd();
|
||||
|
||||
gint_t required_packing_A = 1;
|
||||
mem_t local_mem_buf_A_s = {0};
|
||||
double *D_A_pack = NULL;
|
||||
@@ -17764,6 +17772,8 @@ BLIS_INLINE err_t bli_strsm_small_XAutB_XAlB
|
||||
|
||||
__m128 xmm5;
|
||||
|
||||
xmm5 = _mm_setzero_ps();
|
||||
|
||||
/*
|
||||
Performs solving TRSM for 6 rows at a time from 0 to n/6 in steps of d_nr
|
||||
a. Load and pack A (a01 block), the size of packing 6x6 to 6x (n-6)
|
||||
@@ -21429,6 +21439,8 @@ BLIS_INLINE err_t bli_strsm_small_XAltB_XAuB
|
||||
|
||||
__m128 xmm5;
|
||||
|
||||
xmm5 = _mm_setzero_ps();
|
||||
|
||||
/*
|
||||
Performs solving TRSM for 6 rows at a time from 0 to n/6 in steps of d_nr
|
||||
a. Load and pack A (a01 block), the size of packing 6x6 to 6x (n-6)
|
||||
@@ -33749,6 +33761,9 @@ BLIS_INLINE err_t bli_ztrsm_small_AutXB_AlXB
|
||||
|
||||
__m128d xmm5, xmm4;
|
||||
|
||||
xmm4 = _mm_setzero_pd();
|
||||
xmm5 = _mm_setzero_pd();
|
||||
|
||||
gint_t required_packing_A = 1;
|
||||
mem_t local_mem_buf_A_s = {0};
|
||||
dcomplex *D_A_pack = NULL;
|
||||
@@ -34980,6 +34995,9 @@ BLIS_INLINE err_t bli_ztrsm_small_AltXB_AuXB
|
||||
|
||||
__m128d xmm5, xmm4;
|
||||
|
||||
xmm4 = _mm_setzero_pd();
|
||||
xmm5 = _mm_setzero_pd();
|
||||
|
||||
gint_t required_packing_A = 1;
|
||||
mem_t local_mem_buf_A_s = {0};
|
||||
dcomplex *D_A_pack = NULL;
|
||||
@@ -36231,6 +36249,8 @@ BLIS_INLINE err_t bli_ztrsm_small_XAutB_XAlB
|
||||
|
||||
__m128d xmm5;
|
||||
|
||||
xmm5 = _mm_setzero_pd();
|
||||
|
||||
for(j = (n-d_nr); (j+1) > 0; j -= d_nr) //loop along 'N' direction
|
||||
{
|
||||
a01 = L + (j*rs_a) + (j+d_nr)*cs_a;
|
||||
@@ -37692,6 +37712,8 @@ BLIS_INLINE err_t bli_ztrsm_small_XAltB_XAuB
|
||||
|
||||
__m128d xmm5;
|
||||
|
||||
xmm5 = _mm_setzero_pd();
|
||||
|
||||
for(j = 0; (j+d_nr-1) < n; j += d_nr) //loop along 'N' direction
|
||||
{
|
||||
a01 = L + j*rs_a;//pointer to block of A to be used in GEMM
|
||||
@@ -42248,6 +42270,13 @@ BLIS_INLINE err_t bli_ctrsm_small_AutXB_AlXB
|
||||
__m128 xmm0, xmm1, xmm2, xmm3, xmm4;
|
||||
__m128 xmm5;
|
||||
|
||||
xmm0 = _mm_setzero_ps();
|
||||
xmm1 = _mm_setzero_ps();
|
||||
xmm2 = _mm_setzero_ps();
|
||||
xmm3 = _mm_setzero_ps();
|
||||
xmm4 = _mm_setzero_ps();
|
||||
xmm5 = _mm_setzero_ps();
|
||||
|
||||
gint_t required_packing_A = 1;
|
||||
mem_t local_mem_buf_A_s = {0};
|
||||
scomplex *D_A_pack = NULL;
|
||||
@@ -44492,6 +44521,13 @@ BLIS_INLINE err_t bli_ctrsm_small_AltXB_AuXB
|
||||
__m128 xmm0, xmm1, xmm2, xmm3, xmm4;
|
||||
__m128 xmm5;
|
||||
|
||||
xmm0 = _mm_setzero_ps();
|
||||
xmm1 = _mm_setzero_ps();
|
||||
xmm2 = _mm_setzero_ps();
|
||||
xmm3 = _mm_setzero_ps();
|
||||
xmm4 = _mm_setzero_ps();
|
||||
xmm5 = _mm_setzero_ps();
|
||||
|
||||
gint_t required_packing_A = 1;
|
||||
mem_t local_mem_buf_A_s = {0};
|
||||
scomplex *D_A_pack = NULL;
|
||||
@@ -46714,6 +46750,11 @@ BLIS_INLINE err_t bli_ctrsm_small_XAutB_XAlB
|
||||
__m128 xmm0, xmm1, xmm2;
|
||||
__m128 xmm5;
|
||||
|
||||
xmm0 = _mm_setzero_ps();
|
||||
xmm1 = _mm_setzero_ps();
|
||||
xmm2 = _mm_setzero_ps();
|
||||
xmm5 = _mm_setzero_ps();
|
||||
|
||||
gint_t required_packing_A = 1;
|
||||
mem_t local_mem_buf_A_s = {0};
|
||||
scomplex *D_A_pack = NULL;
|
||||
@@ -48156,6 +48197,11 @@ BLIS_INLINE err_t bli_ctrsm_small_XAltB_XAuB
|
||||
__m128 xmm0, xmm1, xmm2;
|
||||
__m128 xmm5;
|
||||
|
||||
xmm0 = _mm_setzero_ps();
|
||||
xmm1 = _mm_setzero_ps();
|
||||
xmm2 = _mm_setzero_ps();
|
||||
xmm5 = _mm_setzero_ps();
|
||||
|
||||
gint_t required_packing_A = 1;
|
||||
mem_t local_mem_buf_A_s = {0};
|
||||
scomplex *D_A_pack = NULL;
|
||||
|
||||
Reference in New Issue
Block a user