I noticed that Dolphin only requires SSE2, which every CPU has in the past 15 years. Why not add support for AVX optimizations?
Would implementing SSE4/AVX optimizations speed up dolphin?
|
07-31-2013, 05:53 AM
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 07-31-2013, 06:37 AM
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 07-31-2013, 07:32 PM
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?
08-01-2013, 12:06 AM
Very little.
08-01-2013, 05:21 AM
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.
|
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)