Browse Source

Fix missing clobber in blas_quickdivide assembly

pull/2017/head
Martin Kroeker GitHub 7 years ago
parent
commit
fe114fd3e2
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
      common_x86_64.h

+ 1
- 1
common_x86_64.h View File

@@ -210,7 +210,7 @@ static __inline int blas_quickdivide(unsigned int x, unsigned int y){
y = blas_quick_divide_table[y];

__asm__ __volatile__ ("mull %0" :"=d" (result) :"a"(x), "0" (y));
__asm__ __volatile__ ("mull %0" :"=d" (result) :"+a"(x), "0" (y));

return result;
}


Loading…
Cancel
Save