![]() |
|
|
#67 |
|
"Dave"
Sep 2005
UK
23·347 Posts |
|
|
|
|
|
|
#68 |
|
"Dave"
Sep 2005
UK
23×347 Posts |
I tried turning off all optimizations with -O- and the for loop now works correctly. Given that the inner loop is written in asm this should not make any significant difference to the performance.
|
|
|
|
|
|
#69 |
|
I quite division it
"Chris"
Feb 2005
England
31·67 Posts |
|
|
|
|
|
|
#70 |
|
Jun 2003
23·683 Posts |
There is an unsafe code in the program in 32-bit compiler, that'll mess up sieve from primes p > 280m (2^32/15).
So ranges done with 32-bit siever with p > 280m should be redone. Fix is to change line 200 from Code:
t := (t*15) mod n Code:
t := (QWord(t)*15) mod n |
|
|
|
|
|
#71 | |
|
"Dave"
Sep 2005
UK
23×347 Posts |
Quote:
Edit: BTW please read this as a statement of fact rather than any implied criticism. I well understand the risks of using experimental code. Fortunately you caught it pretty early on. Last fiddled with by amphoria on 2010-06-19 at 17:44 |
|
|
|
|
|
|
#72 | ||
|
Jun 2003
10101010110002 Posts |
Quote:
Quote:
|
||
|
|
|
|
|
#73 |
|
Jun 2003
23·683 Posts |
|
|
|
|
|
|
#74 |
|
"Dave"
Sep 2005
UK
277610 Posts |
|
|
|
|
|
|
#75 |
|
"Dave"
Sep 2005
UK
53308 Posts |
For interest I compared the results of 23T-24T after applying the fix with the original results. There were about 39000 lines different.
|
|
|
|
|
|
#76 |
|
I quite division it
"Chris"
Feb 2005
England
31·67 Posts |
|
|
|
|
|
|
#77 |
|
I quite division it
"Chris"
Feb 2005
England
31·67 Posts |
I'm having all sorts of problems trying to compile a Windows 32 bit axnSieve. Could someone please post an exe with as high as possible SmallPrimes and SieveSize that is already known to be good.
Thanks
Last fiddled with by Flatlander on 2010-06-28 at 16:06 |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Perpetual benchmark thread... | Xyzzy | Hardware | 897 | 2023-06-15 13:46 |
| Hardware Benchmark Jest Thread for 100M exponents | joblack | Hardware | 285 | 2022-08-06 21:50 |
| LLR benchmark thread | Oddball | Riesel Prime Search | 5 | 2010-08-02 00:11 |
| sr5sieve Benchmark thread | axn | Sierpinski/Riesel Base 5 | 25 | 2010-05-28 23:57 |
| New Sieve Thread Discussion | Citrix | Prime Sierpinski Project | 15 | 2005-08-29 13:56 |