Browse Source
Merge pull request #2410 from bartoldeman/fix-dscal-inline-asm
Fix inline asm in dscal: mark x, x1 as clobbered. Fixes #2408
tags/v0.3.9
Martin Kroeker
GitHub
6 years ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
kernel/x86_64/dscal.c
|
|
|
@@ -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 |
|
|
|
|