![]() |
![]() |
#23 | |
"Bob Silverman"
Nov 2003
North of Boston
11101100001012 Posts |
![]() Quote:
There is famous quote from Seymour Cray: What do we need software for? It just slows the machine down....... |
|
![]() |
![]() |
![]() |
#24 |
Mar 2003
New Zealand
100100001012 Posts |
![]()
My whinge: SSE has AND and AND-NOT, but no NOT. So I synthesize NOT from AND, AND-NOT, and say PCMPEQD, which uses an extra scratch register. Why not have AND and NOT and let the programmer synthesize AND-NOT, no scratch register required? I suppose there must be a reason.
|
![]() |
![]() |
![]() |
#25 | |
Dec 2008
Boycotting the Soapbox
24×32×5 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#26 |
Dec 2008
Boycotting the Soapbox
24×32×5 Posts |
![]()
no text
|
![]() |
![]() |
![]() |
#27 |
Undefined
"The unspeakable one"
Jun 2006
My evil lair
3·37·61 Posts |
![]() |
![]() |
![]() |
![]() |
#28 |
Dec 2008
Boycotting the Soapbox
24×32×5 Posts |
![]()
I should have payed attention to the thread title. What I meant was that divps & divpd are superfluous, since rcpps/rcppd & newton-raphson are faster and can be pipelined.
The issue is that the missing rcppd forces one to use two extra instructions - convert doubles to floats and floats to doubles - blocking the execution ports for 2 cycles and adding 6-8 cycles in latency. |
![]() |
![]() |
![]() |
#29 |
"Ben"
Feb 2007
EB416 Posts |
![]()
Ok, so pcmpgtw isn't exactly useless, but I'm really quite upset right now over the fact that there is no unsigned equivalent.
|
![]() |
![]() |
![]() |
#30 |
Jun 2003
43×127 Posts |
![]() |
![]() |
![]() |
![]() |
#31 |
"Ben"
Feb 2007
72648 Posts |
![]()
Yeah, cool!
This will do the job: Code:
"pxor %%xmm0, %%xmm0 \n\t"/* xmm0 := 0 */ "psubusw %%xmm1, %%xmm2 \n\t"/* xmm2 := b - a */ "pcmpeqw %%xmm0, %%xmm2 \n\t"/* xmm2 := a >= b ? 1 : 0 */ In the spirit of this thread, though, it still sucks that this is necessary... Last fiddled with by bsquared on 2012-03-28 at 20:35 |
![]() |
![]() |
![]() |
#32 |
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
22·2,549 Posts |
![]()
"The only thing in the house that didn't suck was the vacuum cleaner."
|
![]() |
![]() |
![]() |
#33 |
"Lucan"
Dec 2006
England
145128 Posts |
![]() |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Posts that seem less than useless, or something like that | jasong | Forum Feedback | 1054 | 2022-06-20 22:34 |
Fedora gedit for bash has become useless | EdH | Linux | 11 | 2016-05-13 15:36 |
Useless DC assignment | lycorn | PrimeNet | 16 | 2009-09-08 18:16 |
Useless p-1 work | jocelynl | Data | 4 | 2004-11-28 13:28 |