• 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 ... 149 150 151 152 153 ... 357 Next »

Would implementing SSE4/AVX optimizations speed up dolphin?
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Would implementing SSE4/AVX optimizations speed up dolphin?
07-31-2013, 05:30 AM
#1
drhycodan Offline
Senior Member
****
Posts: 736
Threads: 158
Joined: Apr 2013
I noticed that Dolphin only requires SSE2, which every CPU has in the past 15 years. Why not add support for AVX optimizations?
Find
Reply
07-31-2013, 05:53 AM
#2
haddockd Offline
Dolphin Addict
*****
Posts: 838
Threads: 31
Joined: Jun 2011
I am by no means an expert, but I did see similar thread over at PCSX2. Preliminary results were not promising (but far from conclusive):
http://forums.pcsx2.net/Thread-SSE4-vs-AVX
i5-8600K @ 4.5 GHz
GeForce GTX 1080 SC2
ASRock Z370 Taichi LGA 1151
CORSAIR Vengeance LPX 16GB 2400 DDR4
SAMSUNG 970 EVO M.2 500GB PCIe SSD
Indigo Xtreme TIM
Phanteks Pro ES614P Black Steel Case
EVGA SuperNOVA 750W PSU
Windows 10 64-bit
Find
Reply
07-31-2013, 06:37 AM
#3
NaturalViolence Offline
It's not that I hate people, I just hate stupid people
*******
Posts: 9,009
Threads: 24
Joined: Oct 2009
drhycodan Wrote:Why not add support for AVX optimizations?

Short Answer: Because it would be stupid and pointless. Those new instructions are completely useless for emulated a cpu that doesn't have any similar instructions.

While SSE2 is the minimum requirement for dolphin the program does in fact use newer SSE instructions when it detects that your cpu supports them (SSE3, SSSE3, SSE4).

dryhycodan Wrote:I noticed that Dolphin only requires SSE2, which every CPU has in the past 15 years.

The very first SSE2 capable cpus were launched 12.5 years ago. They didn't become common until 10 years ago.
"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
07-31-2013, 07:32 PM
#4
lamedude Offline
Senior Member
****
Posts: 360
Threads: 7
Joined: Jan 2011
Any dev's willing to throw out a number on much the JIT engine could benefit from AVX's 3 operand encoding? How much time is wasted moving data around?
Website Find
Reply
08-01-2013, 12:06 AM
#5
delroth Offline
Making the world a better place through reverse engineered DSP firmwares
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,356
Threads: 63
Joined: Aug 2011
Very little.
Pierre "delroth" Bourdon - @delroth_ - Blog

<@neobrain> that looks sophisticated enough to not be a totally dumb thing to do
Website Find
Reply
08-01-2013, 05:21 AM
#6
degasus Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,828
Threads: 10
Joined: May 2012
Newer simd instructions like sse and avx aren't faster, they can only process more information at once. But as we emulate raw ppc instructions, there is no need for bigger simd than the original ppc one.
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode