• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › General Discussion v
« Previous 1 … 256 257 258 259 260 … 371 Next »

What is more optimized?SSSE3 or SSE4.2?
View New Posts | View Today's Posts

Pages (2): 1 2 Next »
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
What is more optimized?SSSE3 or SSE4.2?
01-28-2011, 01:02 AM
#1
Manaplayer Offline
Member
***
Posts: 64
Threads: 9
Joined: Apr 2009
Hi!

I'm using the newest Lectrode's optimized Dolphin builds and like the threads name i'm asking what is more optimized?The list order of the builds are that SSE4.2 is over SSSE3.
I was asking Google but it's hard to find an answer-That SSE4.2 is more optimized than SSE4.1 or SSE3 is clearly self-answering.

Please don't hit me so much for my english, i'm german...Blush
Find
Reply
01-28-2011, 05:09 AM (This post was last modified: 01-28-2011, 05:10 AM by Kodiack.)
#2
Kodiack Offline
Member
***
Posts: 139
Threads: 5
Joined: Jan 2011
SSE is a series of instruction sets that gets built upon every so often. Processors capable of SSE 4.2 can do everything in the SSE 4.2 instruction set and earlier.

To answer your question, if it was written well, SSE 4.2-optimized code would have the SSE 3 optimizations available as well. As you're running a Core i7 CPU, that is what I would recommend using. Note that you likely won't see a notable performance increase over SSE 3, though
Website Find
Reply
01-28-2011, 06:14 AM
#3
kernel64 Offline
Core Member
****
Posts: 435
Threads: 8
Joined: Mar 2009
So you really need to get the build which is optimized for your particular CPU. In your case it should be a SSE4.2 build for your core i7 2600K.

Since Sandy Bridge and newer AMD cpus are now using AVX instructions, maybe we'll see soon some builds optimized for this extensions.

Rig

*Corei5 3570K *Nvidia 9800GT 1GB DDR3
*Motherboard Asus P8H77M-PRO *Win7 x64
*RAM 8GB DDR3(1600)
Find
Reply
01-28-2011, 06:18 AM
#4
Manaplayer Offline
Member
***
Posts: 64
Threads: 9
Joined: Apr 2009
Thx for your answers,but i was asking about ss-S-3.The other ones only have two "S",but what about the one with three "S"?
Find
Reply
01-28-2011, 08:48 AM
#5
NaturalViolence Offline
It's not that I hate people, I just hate stupid people
*******
Posts: 9,014
Threads: 24
Joined: Oct 2009
Ask yourself this. Which number is higher? Is 4.2 > 3?

SSE = streaming simd (single instruction multiple data, a.k.a. a vector) extension
SSSE = STACKLESS streaming simd extension (includes instructions that use stackless registers)

As was stated earlier sse4.2 is an EXTENSION. Therefore a build compiled for sse4.2 is compiled with instrusions from earlier sse versions (including ssse3) as well as the new instructions included in the extension.
"Normally if given a choice between doing something and nothing, I’d choose to do nothing. But I would do something if it helps someone else do nothing. I’d work all night if it meant nothing got done."  
-Ron Swanson

"I shall be a good politician, even if it kills me. Or if it kills anyone else for that matter. "
-Mark Antony
Website Find
Reply
01-28-2011, 07:16 PM
#6
Manaplayer Offline
Member
***
Posts: 64
Threads: 9
Joined: Apr 2009
Ok,that is the final answer.I couldn't find the difference between SSx and SSSx.That 4 is better than 3 was already clear Tongue
Thx for the answers Smile
Find
Reply
01-29-2011, 05:18 AM (This post was last modified: 01-29-2011, 05:19 AM by Squall Leonhart.)
#7
Squall Leonhart Offline
Friend of local jackass
*******
Posts: 1,177
Threads: 27
Joined: Apr 2009
(01-28-2011, 08:48 AM)NaturalViolence Wrote: SSSE = STACKLESS streaming simd extension (includes instructions that use stackless registers)

SSSE=Supplemental Streaming Simd

Quote:That 4 is better than 3 was already clear

Not entirely the case.
[Image: squall_sig2.gif]
[Image: squall4rinoa.png]
VBA-M
Website Find
Reply
01-29-2011, 05:43 AM (This post was last modified: 01-29-2011, 05:43 AM by boogerlad.)
#8
boogerlad Offline
Above and Beyond
*******
Posts: 1,134
Threads: 21
Joined: Apr 2009
each sse version has different instructions. One may not be better than another. However, a higher sse version will have all of the older instructions too.
Find
Reply
01-29-2011, 05:43 AM (This post was last modified: 01-29-2011, 05:44 AM by NaturalViolence.)
#9
NaturalViolence Offline
It's not that I hate people, I just hate stupid people
*******
Posts: 9,014
Threads: 24
Joined: Oct 2009
@Squall

I stand corrected.

Anyways how could software compiled with the ssse3 flag possibly be any faster than if it's compiled with the sse4.2 flag? Wouldn't it still use ssse3 instructions when appropriate?
"Normally if given a choice between doing something and nothing, I’d choose to do nothing. But I would do something if it helps someone else do nothing. I’d work all night if it meant nothing got done."  
-Ron Swanson

"I shall be a good politician, even if it kills me. Or if it kills anyone else for that matter. "
-Mark Antony
Website Find
Reply
01-29-2011, 06:00 AM (This post was last modified: 01-29-2011, 06:03 AM by Squall Leonhart.)
#10
Squall Leonhart Offline
Friend of local jackass
*******
Posts: 1,177
Threads: 27
Joined: Apr 2009
(01-29-2011, 05:43 AM)boogerlad Wrote: each sse version has different instructions. One may not be better than another. However, a higher sse version will have all of the older instructions too.

NOT TRUE AT ALL.

Quote:Anyways how could software compiled with the ssse3 flag possibly be any faster than if it's compiled with the sse4.2 flag? Wouldn't it still use ssse3 instructions when appropriate?

In an ideal case, it should, unfortunately its not always the case. there are some functions in sse4 that do the same thing but take longer than doing it with sse3

further, theres the fact that AMD bulldozer chips will support AVX but not SSSE3/SSE4 (not that AVX performs well by mixing instruction sets anyway)
[Image: squall_sig2.gif]
[Image: squall4rinoa.png]
VBA-M
Website Find
Reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »


  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma