![]() |
|
|
#34 |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
to be honest cost is the main issue based on what's in the thread already however I do think it is possible to some extent because of Laurv's posting about shifts and adds technically with a bittest those could be turned into a way to do TF and LL at very least just not efficiently. squaring can be done using bit shifts and subtraction is just like adding a negative number to something. it's really the bit testing needed that would make it fail I think that and it's inefficiency. because although it works without bit testing to square mersenne numbers not so much outside of them:
Code:
(08:58) gp > 5<<2+5<<0 %1 = 25 (08:59) gp > 7<<2+7<<1+7<<0 %2 = 49 |
|
|
|
|
|
#35 |
|
Jun 2003
32×5×113 Posts |
|
|
|
|
|
|
#36 | |
|
Serpentine Vermin Jar
Jul 2014
CF116 Posts |
Quote:
It was pretty interesting to work out the design and then hook up a programmer and, for testing, using a push-button clock (so we could step through cycle-by-cycle and check inputs/outputs). It did open my eyes to the possibilities of such things for custom applications, and I'm pretty sure the custom ASICs for bitcoin mining are along those lines. It made me wonder if the ASICs used in them aren't really FPGAs that could be reprogrammed with a different function. Or do they really such a huge market that they custom fabricate crap like that? |
|
|
|
|
|
|
#37 | |
|
"/X\(‘-‘)/X\"
Jan 2013
293010 Posts |
Quote:
|
|
|
|
|
|
|
#38 |
|
Serpentine Vermin Jar
Jul 2014
3,313 Posts |
Except most DSP chips for commercial applications have what I think you might call "interesting" precision. I read an article the other day about a new DSP with some kind of FFT algorithm that could do compression/decompression really fast and efficient, but it depends entirely on the fact that audio and video has a lot of empty frequencies. My takeaway was that it would suck at doing anything with more random data like what happens during LL.
(my apologies for probably mangling the underlying concept...I skimmed the article) |
|
|
|
|
|
#39 | |
|
∂2ω=0
Sep 2002
República de California
19×613 Posts |
Quote:
Re. the rest of your clever scheme: so to multiply a pair of GIMPS-wavefront-sized inputs, we simply need to do 70-million-or-so 70-million-bit-wide shift-and-adds ... got any similarly genius ideas for the ensuing modular reduction step? And that doesn't even take advantage of the fact that for LL testing we are *squaring* the input, rather than general-multiplying ... I bet we could get a further speedup by taking advantage of that. See, this is the reason I spend time around here... Last fiddled with by ewmayer on 2016-01-17 at 21:46 |
|
|
|
|
|
|
#40 | |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
Quote:
"just not efficiently." modular reduction could be as simple as the subtraction step done in the thread I made in the lounge http://mersenneforum.org/showthread.php?t=20803 as all a modular result tells you is what he remainder on division is and you can get there using subtraction. oh and the shifts can potentially be decreased as they are being made using subtraction of the exponent because the powers of two that are a multiple of the next power of two will all be 1 for remainder. anyways enough with this self defeating post. Last fiddled with by science_man_88 on 2016-01-17 at 22:15 |
|
|
|
|
|
|
#41 |
|
∂2ω=0
Sep 2002
República de California
101101011111112 Posts |
|
|
|
|
|
|
#42 |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
I was pointing out that technically it's not the lack of instructions that would be the downfall it would be the way it's wired and the order it's forced into.
|
|
|
|
|
|
#43 |
|
∂2ω=0
Sep 2002
República de California
101101011111112 Posts |
Still digging, I see.
[Hint-which-will-surely-be-ignored: Fundamentally quadratic complexity versus subquadratic.] |
|
|
|
|
|
#44 | |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
Quote:
Last fiddled with by science_man_88 on 2016-01-18 at 01:57 |
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Repurposing 2 x 32Gh/s Bitcoin miners | SamCornwell | Hardware | 2 | 2017-01-16 19:03 |
| New to GIMPS. What is a GPU? | jschwar313 | Information & Answers | 29 | 2016-02-05 03:55 |
| GIMPS and bitcoin | Rodrigo | Information & Answers | 26 | 2014-03-27 23:31 |
| GIMPS on G4 | flouran | Hardware | 2 | 2009-02-24 01:58 |
| Yet another GIMPS FAQ | Prime Monster | Lounge | 9 | 2003-04-12 12:12 |