16 uint32 cl_trialdivision (uint32 nhi, uint32 nlo, uint32 d1, uint32 d2)
18 var uintL i = cl_small_prime_table_search(d1);
19 var const uint16 * ptr = &cl_small_prime_table[i];
20 var const uint16 * ptr_limit = &cl_small_prime_table[cl_small_prime_table_search(d2+1)];
21 for ( ; ptr < ptr_limit; ptr++) {
22 var uint32 prime = *ptr;
25 hi = nhi % prime; // or: divu_3232_3232(nhi,prime,,hi=);
26 divu_6432_3232(hi,nlo,prime,,r=);