Skip to content

Commit a29f20e

Browse files
authored
Update zscal.c
1 parent f4f0f44 commit a29f20e

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

kernel/arm/zscal.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3333
* TEST : OK
3434
*
3535
**************************************************************************************/
36-
#pragma GCC optimize("O0"
36+
3737
#include "common.h"
3838

3939
// The c/zscal_k function is called not only by cblas_c/zscal but also by other upper-level interfaces.
@@ -48,9 +48,10 @@ int CNAME(BLASLONG n, BLASLONG dummy0, BLASLONG dummy1, FLOAT da_r,FLOAT da_i, F
4848

4949
if ((n <= 0) || (inc_x <= 0))
5050
return(0);
51-
51+
printf("arm zscal kernel\n");
5252
inc_x2 = 2 * inc_x;
5353
if (dummy2 == 0) {
54+
printf("arm zscal kernel, dummy2 is zero\n");
5455
for ( i=0; i<n; i++ )
5556
{
5657
if ( da_r == 0.0 )
@@ -86,6 +87,7 @@ int CNAME(BLASLONG n, BLASLONG dummy0, BLASLONG dummy1, FLOAT da_r,FLOAT da_i, F
8687

8788
return(0);
8889
}
90+
printf("arm zscal kernel in nan-propagating mode\n");
8991
for (i = 0; i < n; i++)
9092
{
9193
temp = da_r * x[ip] - da_i * x[ip+1];

0 commit comments

Comments
 (0)