Browse Source

and back to unsigned to run another test...

pull/2594/head
Martin Kroeker GitHub 6 years ago
parent
commit
ccdf81ecc3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      common_x86_64.h

+ 3
- 3
common_x86_64.h View File

@@ -1,4 +1,4 @@
/*********************************************************************/
/*********************************************************************/
/* Copyright 2009, 2010 The University of Texas at Austin. */
/* All rights reserved. */
/* */
@@ -199,7 +199,7 @@ static __inline BLASLONG blas_quickdivide(BLASLONG x, BLASLONG y){
#else
extern unsigned int blas_quick_divide_table[];

static __inline int blas_quickdivide(unsigned int x, unsigned int y){
static __inline unsigned int blas_quickdivide(unsigned int x, unsigned int y){

unsigned int result;

@@ -215,7 +215,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));
fprintf(stderr,"quickdivide returning %d\n",result);
return result;
}
#endif


Loading…
Cancel
Save