Skip to content

Commit 8a9e9a8

Browse files
authored
Merge pull request #2410 from bartoldeman/fix-dscal-inline-asm
Fix inline asm in dscal: mark x, x1 as clobbered. Fixes #2408
2 parents cb6ef49 + 7ea5e07 commit 8a9e9a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

kernel/x86_64/dscal.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,10 @@ 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
139+
"+r" (n), // 0
140+
"+r" (x), // 1
141+
"+r" (x1) // 2
140142
:
141-
"r" (x), // 1
142-
"r" (x1), // 2
143143
"r" (alpha), // 3
144144
"r" (inc_x), // 4
145145
"r" (inc_x3) // 5

0 commit comments

Comments
 (0)