Browse Source

Fix declaration of input arguments in inline assembly

Argument 0 is modified as it doubles as a counter
tags/v0.3.6^2
Martin Kroeker GitHub 7 years ago
parent
commit
91481a3e4e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      kernel/x86_64/dscal.c

+ 1
- 1
kernel/x86_64/dscal.c View File

@@ -136,8 +136,8 @@ 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" (alpha), // 3


Loading…
Cancel
Save