Tag arguments 0 and 1 as both input and output

This commit is contained in:
Martin Kroeker 2019-01-16 23:37:49 +01:00 committed by GitHub
parent 05e9619944
commit 7a11cc5b9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -122,9 +122,9 @@ static void dscal_kernel_8( BLASLONG n, FLOAT *alpha, FLOAT *x)
"vzeroupper \n\t"
:
:
"r" (n1), // 0
"r" (x), // 1
"+r" (n1), // 0
"+r" (x), // 1
:
"r" (alpha), // 2
"r" (n2) // 3
: "cc",
@ -187,10 +187,10 @@ static void dscal_kernel_8_zero( BLASLONG n, FLOAT *alpha, FLOAT *x)
"vzeroupper \n\t"
:
"+r" (n1), // 0
"+r" (x), // 1
:
:
"r" (n1), // 0
"r" (x), // 1
"r" (alpha), // 2
"r" (n2) // 3
: "cc",