![]() |
|
|
#254 |
|
Undefined
"The unspeakable one"
Jun 2006
My evil lair
1A8916 Posts |
OMG, I would love to see that complete just one iteration and get the correct residue. I doubt that I will live long enough to see that though.
|
|
|
|
|
|
#255 |
|
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
172208 Posts |
Actually, the first two iterations should be pretty easy, and fast too. I could program it to run variable length grammar school math. 4x4-2=14. 14x14-2=194. 8-bit unsigned ints. No mul instruction means build it from shifts and adds. Also, build a lookup table of square values as you go; 256 values, 2 bytes each. Or preload a precomputed table, 512 bytes. Off diagonal products, 4x4 table, and use that with Karatsuba or grammar school by nybbles. The hundredth iteration though, is big and slow.
Last fiddled with by kriesel on 2019-02-04 at 18:26 |
|
|
|
|
|
#256 |
|
Undefined
"The unspeakable one"
Jun 2006
My evil lair
6,793 Posts |
No, we gotta have the shifted start value also, or spin through the first easy iterations before the real results start to matter. No easy cheating allowed. A proper complete iteration of the full 100M value.
|
|
|
|
|
|
#257 |
|
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
24·3·163 Posts |
|
|
|
|
|
|
#258 |
|
Undefined
"The unspeakable one"
Jun 2006
My evil lair
6,793 Posts |
|
|
|
|
|
|
#259 | |
|
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
24·3·163 Posts |
Quote:
And to answer your question, actually, yes.
Last fiddled with by kriesel on 2019-02-04 at 18:44 |
|
|
|
|
|
|
#260 |
|
Jan 2008
France
3×199 Posts |
This reminds me of my first implementation of LL. It was in assembly language on an Atari ST (68000 CPU). It was using Karatsuba mul and the data was put in video RAM to watch the computation. Quite funny
![]() That was almost 10 years before prime95 was released. Make me feel old... |
|
|
|
|
|
#261 |
|
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
11110100100002 Posts |
|
|
|
|
|
|
#262 | |
|
Undefined
"The unspeakable one"
Jun 2006
My evil lair
6,793 Posts |
Quote:
|
|
|
|
|
|
|
#263 | |
|
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
24·3·163 Posts |
Quote:
Last fiddled with by kriesel on 2019-02-06 at 18:30 |
|
|
|
|
|
|
#264 | |
|
∂2ω=0
Sep 2002
República de California
22×2,939 Posts |
Quote:
Iteration 1 gives (4^2-2)*2^2s (mod 2^p-1) = 14*2^(2s % p). |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Perpetual benchmark thread... | Xyzzy | Hardware | 897 | 2023-06-15 13:46 |
| Sieve Benchmark Thread | Historian | Twin Prime Search | 105 | 2013-02-05 01:35 |
| 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 |
| Old Hardware Thread | E_tron | Hardware | 0 | 2004-06-18 03:32 |