Omit the divide table overflow check on small systems
This commit is contained in:
parent
e93355e5e1
commit
d0c0506588
|
@ -195,11 +195,13 @@ static __inline int blas_quickdivide(unsigned int x, unsigned int y){
|
||||||
unsigned int result;
|
unsigned int result;
|
||||||
|
|
||||||
if (y <= 1) return x;
|
if (y <= 1) return x;
|
||||||
|
|
||||||
|
#if (MAX_CPU_NUMBER > 64)
|
||||||
if (y > 64) {
|
if (y > 64) {
|
||||||
result = x / y;
|
result = x / y;
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
y = blas_quick_divide_table[y];
|
y = blas_quick_divide_table[y];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue