Skip to content

Commit

Permalink
Merge pull request OpenMathLib#2410 from bartoldeman/fix-dscal-inline…
Browse files Browse the repository at this point in the history
…-asm

Fix inline asm in dscal: mark x, x1 as clobbered. Fixes OpenMathLib#2408
  • Loading branch information
martin-frbg authored Feb 12, 2020
2 parents cb6ef49 + 7ea5e07 commit 8a9e9a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kernel/x86_64/dscal.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,10 @@ static void dscal_kernel_inc_8(BLASLONG n, FLOAT *alpha, FLOAT *x, BLASLONG inc_
"jnz 1b \n\t"

:
"+r" (n) // 0
"+r" (n), // 0
"+r" (x), // 1
"+r" (x1) // 2
:
"r" (x), // 1
"r" (x1), // 2
"r" (alpha), // 3
"r" (inc_x), // 4
"r" (inc_x3) // 5
Expand Down

0 comments on commit 8a9e9a8

Please sign in to comment.