Skip to content

Commit 32b0f11

Browse files
authored
Fix declaration of input arguments in the Sandybridge GER microkernels (#1967)
* Tag arguments 0 and 1 as both input and output
1 parent b495e54 commit 32b0f11

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

kernel/x86_64/dger_microk_sandy-2.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ static void dger_kernel_16( BLASLONG n, FLOAT *x, FLOAT *y, FLOAT *alpha)
105105
"vzeroupper \n\t"
106106

107107
:
108-
:
109-
"r" (i), // 0
110-
"r" (n), // 1
108+
"+r" (i), // 0
109+
"+r" (n) // 1
110+
:
111111
"r" (x), // 2
112112
"r" (y), // 3
113113
"r" (alpha) // 4

kernel/x86_64/sger_microk_sandy-2.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ static void sger_kernel_16( BLASLONG n, FLOAT *x, FLOAT *y, FLOAT *alpha)
105105
"vzeroupper \n\t"
106106

107107
:
108-
:
109-
"r" (i), // 0
110-
"r" (n), // 1
108+
"+r" (i), // 0
109+
"+r" (n) // 1
110+
:
111111
"r" (x), // 2
112112
"r" (y), // 3
113113
"r" (alpha) // 4

0 commit comments

Comments
 (0)