Skip to content

Commit 91481a3

Browse files
authored
Fix declaration of input arguments in inline assembly
Argument 0 is modified as it doubles as a counter
1 parent dc6ac9e commit 91481a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/x86_64/dscal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ static void dscal_kernel_inc_8(BLASLONG n, FLOAT *alpha, FLOAT *x, BLASLONG inc_
136136
"jnz 1b \n\t"
137137

138138
:
139+
"+r" (n) // 0
139140
:
140-
"r" (n), // 0
141141
"r" (x), // 1
142142
"r" (x1), // 2
143143
"r" (alpha), // 3

0 commit comments

Comments
 (0)