Browse Source

Fix unused variable warnings on Power

tags/v0.3.18
Rafael Cardoso Fernandes Sousa 4 years ago
parent
commit
b751edf624
6 changed files with 2 additions and 8 deletions
  1. +1
    -3
      kernel/power/drot.c
  2. +1
    -1
      kernel/power/idamax.c
  3. +0
    -1
      kernel/power/trsm_kernel_LN_power10.c
  4. +0
    -1
      kernel/power/trsm_kernel_LT_power10.c
  5. +0
    -1
      kernel/power/zgemv_n_4.c
  6. +0
    -1
      kernel/power/zgemv_n_power10.c

+ 1
- 3
kernel/power/drot.c View File

@@ -110,8 +110,6 @@ int CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLONG inc_y, FLOAT
{
BLASLONG i=0;
BLASLONG ix=0,iy=0;
FLOAT *x1=x;
FLOAT *y1=y;
FLOAT temp;

if ( n <= 0 ) return(0);
@@ -139,7 +137,7 @@ int CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLONG inc_y, FLOAT
BLASLONG n1 = n & -16;
if ( n1 > 0 )
{
drot_kernel_16(n1, x1, y1, c, s);
drot_kernel_16(n1, x, y, c, s);
i=n1;
}
#endif


+ 1
- 1
kernel/power/idamax.c View File

@@ -330,10 +330,10 @@ BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x) {

if (inc_x == 1) {

BLASLONG n1 = n & -32;
#if defined(_CALL_ELF) && (_CALL_ELF == 2)
#if defined(__VEC__) || defined(__ALTIVEC__)

BLASLONG n1 = n & -32;
if (n1 > 0) {

max = diamax_kernel_32(n1, x, &maxf);


+ 0
- 1
kernel/power/trsm_kernel_LN_power10.c View File

@@ -389,7 +389,6 @@ static inline __attribute__ ((always_inline)) void solve16x8(FLOAT *a, FLOAT *b,
vector FLOAT *Vc6 = (vector FLOAT *) c6;
vector FLOAT *Vc7 = (vector FLOAT *) c7;
vector FLOAT VbS0, VbS1, VbS2, VbS3, VbS4, VbS5, VbS6, VbS7;
int j;

b[120] = (c0[15] *= a[255]);
b[121] = (c1[15] *= a[255]);


+ 0
- 1
kernel/power/trsm_kernel_LT_power10.c View File

@@ -390,7 +390,6 @@ static inline __attribute__ ((always_inline)) void solve16x8(FLOAT *a, FLOAT *b,
vector FLOAT *Vc6 = (vector FLOAT *) c6;
vector FLOAT *Vc7 = (vector FLOAT *) c7;
vector FLOAT VbS0, VbS1, VbS2, VbS3, VbS4, VbS5, VbS6, VbS7;
int j;

b[0] = (c0[0] *= a[0]);
b[1] = (c1[0] *= a[0]);


+ 0
- 1
kernel/power/zgemv_n_4.c View File

@@ -607,7 +607,6 @@ static void add_y(BLASLONG n, FLOAT *src, FLOAT *dest, BLASLONG inc_dest, FLOAT

int CNAME(BLASLONG m, BLASLONG n, BLASLONG dummy1, FLOAT alpha_r, FLOAT alpha_i, FLOAT *a, BLASLONG lda, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLONG inc_y, FLOAT * buffer) {
BLASLONG i;
BLASLONG j;
FLOAT *a_ptr;
FLOAT *x_ptr;
FLOAT *y_ptr;


+ 0
- 1
kernel/power/zgemv_n_power10.c View File

@@ -738,7 +738,6 @@ static void add_y(BLASLONG n, FLOAT *src, FLOAT *dest, BLASLONG inc_dest, FLOAT

int CNAME(BLASLONG m, BLASLONG n, BLASLONG dummy1, FLOAT alpha_r, FLOAT alpha_i, FLOAT *a, BLASLONG lda, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLONG inc_y, FLOAT * buffer) {
BLASLONG i;
BLASLONG j;
FLOAT *a_ptr;
FLOAT *x_ptr;
FLOAT *y_ptr;


Loading…
Cancel
Save