Browse Source

Fix declaration of input arguments in the Sandybridge GER microkernels (#1967)

* Tag arguments 0 and 1 as both input and output
tags/v0.3.6^2
Martin Kroeker GitHub 7 years ago
parent
commit
32b0f1168e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions
  1. +3
    -3
      kernel/x86_64/dger_microk_sandy-2.c
  2. +3
    -3
      kernel/x86_64/sger_microk_sandy-2.c

+ 3
- 3
kernel/x86_64/dger_microk_sandy-2.c View File

@@ -105,9 +105,9 @@ static void dger_kernel_16( BLASLONG n, FLOAT *x, FLOAT *y, FLOAT *alpha)
"vzeroupper \n\t"

:
:
"r" (i), // 0
"r" (n), // 1
"+r" (i), // 0
"+r" (n) // 1
:
"r" (x), // 2
"r" (y), // 3
"r" (alpha) // 4


+ 3
- 3
kernel/x86_64/sger_microk_sandy-2.c View File

@@ -105,9 +105,9 @@ static void sger_kernel_16( BLASLONG n, FLOAT *x, FLOAT *y, FLOAT *alpha)
"vzeroupper \n\t"

:
:
"r" (i), // 0
"r" (n), // 1
"+r" (i), // 0
"+r" (n) // 1
:
"r" (x), // 2
"r" (y), // 3
"r" (alpha) // 4


Loading…
Cancel
Save