Skip to content

Commit

Permalink
Fix declaration of input arguments in the Sandybridge GER microkernels (
Browse files Browse the repository at this point in the history
#1967)

* Tag arguments 0 and 1 as both input and output
  • Loading branch information
martin-frbg authored Jan 18, 2019
1 parent b495e54 commit 32b0f11
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions kernel/x86_64/dger_microk_sandy-2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions kernel/x86_64/sger_microk_sandy-2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 32b0f11

Please sign in to comment.