esp_buf[2] = (arm_float_t*) malloc( inbytes ); // copy of 1st input
esp_buf[4] = (arm_float_t*) malloc( inbytes ); // use this as the output buffer
- FILL_FLOAT_ARRAY_LIMIT( esp_buf[0], tmp_len * MAX_VEC_COMPONENTS ); // initialization the array with random numbers
+ FILL_FLOAT_ARRAY_LIMIT( esp_buf[0], tmp_len * MAX_VEC_COMPONENTS ); // initialize the array with random numbers
memcpy( esp_buf[2], esp_buf[0], inbytes );
ftbl [ FTBL_IDX(opcode, impl) ] ( esp_buf[0] , esp_buf[0], tmp_len );
arm_float_t * thedst[IMPL_COUNT]; // output from different implementations are stored in separate arrays for varification
int done_init = 0;
-// Eight buffers that are used for especial test cases such as when the destination and source point to the same address.
+// Eight buffers that are used for special test cases such as when the destination and source point to the same address.
// They may vary in size from one case to another and from one function to another.
arm_float_t* esp_buf[8];
done_init = 1;
}
- // test the especial case where dst == src
+ // test the special case where dst == src
unsigned int tmp_len = 13; // Just an odd number bigger than 8
unsigned int inbytes = tmp_len * MAX_VEC_COMPONENTS * sizeof(arm_float_t);
esp_buf[0] = (arm_float_t*) malloc( inbytes ); // input 1
esp_buf[2] = (arm_float_t*) malloc( inbytes ); // copy of 1st input
esp_buf[4] = (arm_float_t*) malloc( inbytes ); // use this as the output buffer
- FILL_FLOAT_ARRAY_LIMIT( esp_buf[0], tmp_len * MAX_VEC_COMPONENTS ); // initialization the array with random numbers
- FILL_FLOAT_ARRAY_LIMIT( esp_buf[2], tmp_len * MAX_VEC_COMPONENTS ); // initialization the array with random numbers
+ FILL_FLOAT_ARRAY_LIMIT( esp_buf[0], tmp_len * MAX_VEC_COMPONENTS ); // initialize the array with random numbers
+ FILL_FLOAT_ARRAY_LIMIT( esp_buf[2], tmp_len * MAX_VEC_COMPONENTS ); // initialize the array with random numbers
memcpy( esp_buf[2], esp_buf[0], inbytes );
ftbl [ FTBL_IDX(opcode, impl) ] ( esp_buf[0] , esp_buf[0], tmp_len );
arm_float_t * thedst[IMPL_COUNT]; // output from different implementations are stored in separate arrays for varification
int done_init = 0;
-// Eight buffers that are used for especial test cases such as when the destination and source point to the same address.
+// Nine buffers that are used for special test cases such as when the destination and source point to the same address.
// They may vary in size from one case to another and from one function to another.
arm_float_t* esp_buf[9];
done_init = 1;
}
- // test the especial case where dst == src
+ // test the special case where dst == src
unsigned int tmp_len = 13; // Just an odd number bigger than 8
unsigned int inbytes = tmp_len * MAX_VEC_COMPONENTS * sizeof(float);
esp_buf[0] = (arm_float_t*) malloc( inbytes ); // input 1
esp_buf[5] = (arm_float_t*) malloc( inbytes ); // copy of 3nd input
esp_buf[6] = (arm_float_t*) malloc( inbytes ); // use this as the output buffer
- FILL_FLOAT_ARRAY_LIMIT( esp_buf[0], tmp_len * MAX_VEC_COMPONENTS ); // initialization the array with random numbers
- FILL_FLOAT_ARRAY_LIMIT( esp_buf[1], tmp_len * MAX_VEC_COMPONENTS ); // initialization the array with random numbers
- FILL_FLOAT_ARRAY_LIMIT( esp_buf[2], tmp_len * MAX_VEC_COMPONENTS ); // initialization the array with random numbers
+ FILL_FLOAT_ARRAY_LIMIT( esp_buf[0], tmp_len * MAX_VEC_COMPONENTS ); // initialize the array with random numbers
+ FILL_FLOAT_ARRAY_LIMIT( esp_buf[1], tmp_len * MAX_VEC_COMPONENTS ); // initialize the array with random numbers
+ FILL_FLOAT_ARRAY_LIMIT( esp_buf[2], tmp_len * MAX_VEC_COMPONENTS ); // initialize the array with random numbers
memcpy( esp_buf[3], esp_buf[0], inbytes );
memcpy( esp_buf[4], esp_buf[1], inbytes );
memcpy( esp_buf[5], esp_buf[2], inbytes );
arm_float_t * thedst[IMPL_COUNT]; // output from different implementations are stored in separate arrays for varification
int done_init = 0;
-// Nine buffers that are used for especial test cases such as when the destination and source point to the same address.
+// Nine buffers that are used for special test cases such as when the destination and source point to the same address.
// They may vary in size from one case to another and from one function to another.
arm_float_t* esp_buf[9];
}
- // test the especial case where dst == src
+ // test the special case where dst == src
unsigned int tmp_len = 13; // Just an odd number bigger than 8
unsigned int inbytes = tmp_len * MAX_VEC_COMPONENTS * sizeof(float);
esp_buf[0] = (arm_float_t*) malloc( inbytes ); // input 1
esp_buf[5] = (arm_float_t*) malloc( inbytes ); // copy of 3nd input
esp_buf[6] = (arm_float_t*) malloc( inbytes ); // use this as the output buffer
- FILL_FLOAT_ARRAY_LIMIT( esp_buf[0], tmp_len * MAX_VEC_COMPONENTS ); // initialization the array with random numbers
- FILL_FLOAT_ARRAY_LIMIT( esp_buf[1], tmp_len * MAX_VEC_COMPONENTS ); // initialization the array with random numbers
- FILL_FLOAT_ARRAY_LIMIT( esp_buf[2], tmp_len * MAX_VEC_COMPONENTS ); // initialization the array with random numbers
+ FILL_FLOAT_ARRAY_LIMIT( esp_buf[0], tmp_len * MAX_VEC_COMPONENTS ); // initialize the array with random numbers
+ FILL_FLOAT_ARRAY_LIMIT( esp_buf[1], tmp_len * MAX_VEC_COMPONENTS ); // initialize the array with random numbers
+ FILL_FLOAT_ARRAY_LIMIT( esp_buf[2], tmp_len * MAX_VEC_COMPONENTS ); // initialize the array with random numbers
memcpy( esp_buf[3], esp_buf[0], inbytes );
memcpy( esp_buf[4], esp_buf[1], inbytes );
memcpy( esp_buf[5], esp_buf[2], inbytes );
arm_float_t * thedst[IMPL_COUNT]; // output from different implementations are stored in separate arrays for varification
int done_init = 0;
-// Eight buffers that are used for especial test cases such as when the destination and source point to the same address.
+// Eight buffers that are used for special test cases such as when the destination and source point to the same address.
// They may vary in size from one case to another and from one function to another.
arm_float_t* esp_buf[8];
done_init = 1;
}
- // test the especial case where dst == src
+ // test the special case where dst == src
unsigned int tmp_len = 13; // Just an odd number bigger than 8
unsigned int inbytes = tmp_len * MAX_VEC_COMPONENTS * sizeof(arm_float_t);
esp_buf[1] = (arm_float_t*) malloc( inbytes ); // input 2
esp_buf[3] = (arm_float_t*) malloc( inbytes ); // copy of 2nd input
esp_buf[4] = (arm_float_t*) malloc( inbytes ); // use this as the output buffer
- FILL_FLOAT_ARRAY_LIMIT( esp_buf[1], tmp_len * MAX_VEC_COMPONENTS ); // initialization the array with random numbers
+ FILL_FLOAT_ARRAY_LIMIT( esp_buf[1], tmp_len * MAX_VEC_COMPONENTS ); // initialize the array with random numbers
memcpy( esp_buf[3], esp_buf[1], inbytes );
ftbl [ FTBL_IDX(opcode, impl) ] ( esp_buf[1] , thecst, esp_buf[1], tmp_len );
arm_float_t * thedst[IMPL_COUNT]; // output from different implementations are stored in separate arrays for varification
int done_init = 0;
-// Eight buffers that are used for especial test cases such as when the destination and source point to the same address.
+// Eight buffers that are used for special test cases such as when the destination and source point to the same address.
// They may vary in size from one case to another and from one function to another.
arm_float_t* esp_buf[8];
}
- // test the especial case where dst == src
+ // test the special case where dst == src
unsigned int tmp_len = 13; // Just an odd number bigger than 8
unsigned int inbytes = tmp_len * MAX_VEC_COMPONENTS * sizeof(float);
esp_buf[0] = (arm_float_t*) malloc( inbytes ); // input 1
esp_buf[2] = (arm_float_t*) malloc( inbytes ); // copy of 1st input
esp_buf[4] = (arm_float_t*) malloc( inbytes ); // use this as the output buffer
- FILL_FLOAT_ARRAY_LIMIT( esp_buf[0], tmp_len * MAX_VEC_COMPONENTS ); // initialization the array with random numbers
+ FILL_FLOAT_ARRAY_LIMIT( esp_buf[0], tmp_len * MAX_VEC_COMPONENTS ); // initialize the array with random numbers
memcpy( esp_buf[2], esp_buf[0], inbytes );
ftbl [ FTBL_IDX(opcode, impl) ] ( esp_buf[0] , esp_buf[0], tmp_len );
arm_float_t * thedst[IMPL_COUNT]; // output from different implementations are stored in separate arrays for varification
int done_init = 0;
-// Eight buffers that are used for especial test cases such as when the destination and source point to the same address.
+// Eight buffers that are used for special test cases such as when the destination and source point to the same address.
// They may vary in size from one case to another and from one function to another.
arm_float_t* esp_buf[8];
}
- // test the especial case where dst == src
+ // test the special case where dst == src
unsigned int tmp_len = 13; // Just an odd number bigger than 8
unsigned int inbytes = tmp_len * MAX_VEC_COMPONENTS * sizeof(arm_float_t);
esp_buf[0] = (arm_float_t*) malloc( inbytes ); // input 1
esp_buf[3] = (arm_float_t*) malloc( inbytes ); // copy of 2nd input
esp_buf[4] = (arm_float_t*) malloc( inbytes ); // use this as the output buffer
- FILL_FLOAT_ARRAY_LIMIT( esp_buf[0], tmp_len * MAX_VEC_COMPONENTS ); // initialization the array with random numbers
- FILL_FLOAT_ARRAY_LIMIT( esp_buf[1], tmp_len * MAX_VEC_COMPONENTS ); // initialization the array with random numbers
+ FILL_FLOAT_ARRAY_LIMIT( esp_buf[0], tmp_len * MAX_VEC_COMPONENTS ); // initialize the array with random numbers
+ FILL_FLOAT_ARRAY_LIMIT( esp_buf[1], tmp_len * MAX_VEC_COMPONENTS ); // initialize the array with random numbers
memcpy( esp_buf[2], esp_buf[0], inbytes );
memcpy( esp_buf[3], esp_buf[1], inbytes );
arm_float_t * thedst[IMPL_COUNT]; // output from different implementations are stored in separate arrays for varification
int done_init = 0;
-// Eight buffers that are used for especial test cases such as when the destination and source point to the same address.
+// Eight buffers that are used for special test cases such as when the destination and source point to the same address.
// They may vary in size from one case to another and from one function to another.
arm_float_t* esp_buf[8];
done_init = 1;
}
- // test the especial case where dst == src
+ // test the special case where dst == src
unsigned int tmp_len = 13; // Just an odd number bigger than 8
unsigned int inbytes = tmp_len * MAX_VEC_COMPONENTS * sizeof(arm_float_t);
esp_buf[0] = (arm_float_t*) malloc( inbytes ); // input 1
esp_buf[3] = (arm_float_t*) malloc( inbytes ); // copy of 2nd input
esp_buf[4] = (arm_float_t*) malloc( inbytes ); // use this as the output buffer
- FILL_FLOAT_ARRAY_LIMIT( esp_buf[0], tmp_len * MAX_VEC_COMPONENTS ); // initialization the array with random numbers
- FILL_FLOAT_ARRAY_LIMIT( esp_buf[1], tmp_len * MAX_VEC_COMPONENTS ); // initialization the array with random numbers
+ FILL_FLOAT_ARRAY_LIMIT( esp_buf[0], tmp_len * MAX_VEC_COMPONENTS ); // initialize the array with random numbers
+ FILL_FLOAT_ARRAY_LIMIT( esp_buf[1], tmp_len * MAX_VEC_COMPONENTS ); // initialize the array with random numbers
memcpy( esp_buf[2], esp_buf[0], inbytes );
memcpy( esp_buf[3], esp_buf[1], inbytes );
arm_float_t * thedst[IMPL_COUNT]; // output from different implementations are stored in separate arrays for varification
int done_init = 0;
-// Eight buffers that are used for especial test cases such as when the destination and source point to the same address.
+// Eight buffers that are used for special test cases such as when the destination and source point to the same address.
// They may vary in size from one case to another and from one function to another.
arm_float_t* esp_buf[8];
}
- // test the especial case where dst == src
+ // test the special case where dst == src
unsigned int tmp_len = 13; // Just an odd number bigger than 8
unsigned int inbytes = tmp_len * MAX_VEC_COMPONENTS * sizeof(float);
esp_buf[0] = (arm_float_t*) malloc( inbytes ); // input 1
esp_buf[3] = (arm_float_t*) malloc( inbytes ); // copy of 2nd input
esp_buf[4] = (arm_float_t*) malloc( inbytes ); // use this as the output buffer
- FILL_FLOAT_ARRAY_LIMIT( esp_buf[0], tmp_len * MAX_VEC_COMPONENTS ); // initialization the array with random numbers
- FILL_FLOAT_ARRAY_LIMIT( esp_buf[1], tmp_len * MAX_VEC_COMPONENTS ); // initialization the array with random numbers
+ FILL_FLOAT_ARRAY_LIMIT( esp_buf[0], tmp_len * MAX_VEC_COMPONENTS ); // initialize the array with random numbers
+ FILL_FLOAT_ARRAY_LIMIT( esp_buf[1], tmp_len * MAX_VEC_COMPONENTS ); // initialize the array with random numbers
memcpy( esp_buf[2], esp_buf[0], inbytes );
memcpy( esp_buf[3], esp_buf[1], inbytes );
arm_float_t * thedst[IMPL_COUNT]; // output from different implementations are stored in separate arrays for varification
int done_init = 0;
-// Eight buffers that are used for especial test cases such as when the destination and source point to the same address.
+// Eight buffers that are used for special test cases such as when the destination and source point to the same address.
// They may vary in size from one case to another and from one function to another.
arm_float_t* esp_buf[8];
done_init = 1;
}
- // test the especial case where dst == src
+ // test the special case where dst == src
unsigned int tmp_len = 13; // Just an odd number bigger than 8
unsigned int inbytes = tmp_len * MAX_VEC_COMPONENTS * sizeof(arm_float_t);
esp_buf[0] = (arm_float_t*) malloc( inbytes ); // input 1
esp_buf[3] = (arm_float_t*) malloc( inbytes ); // copy of 2nd input
esp_buf[4] = (arm_float_t*) malloc( inbytes ); // use this as the output buffer
- FILL_FLOAT_ARRAY_LIMIT( esp_buf[0], tmp_len * MAX_VEC_COMPONENTS ); // initialization the array with random numbers
- FILL_FLOAT_ARRAY_LIMIT( esp_buf[1], tmp_len * MAX_VEC_COMPONENTS ); // initialization the array with random numbers
+ FILL_FLOAT_ARRAY_LIMIT( esp_buf[0], tmp_len * MAX_VEC_COMPONENTS ); // initialize the array with random numbers
+ FILL_FLOAT_ARRAY_LIMIT( esp_buf[1], tmp_len * MAX_VEC_COMPONENTS ); // initialize the array with random numbers
memcpy( esp_buf[2], esp_buf[0], inbytes );
memcpy( esp_buf[3], esp_buf[1], inbytes );