Home » AVX-512 improves PlayStation 3 emulator performance by 30%
Technology

AVX-512 improves PlayStation 3 emulator performance by 30%

The famous PlayStation 3 emulator, RPCS3continues to receive significant improvements over the years, and the latest builds on using AVX-512 instructions most modern processors such as the Intel Core i9-12900K (as long as you don’t buy one from the new batch with the AVX-512 disabled).

Using the 5.20 GHz Intel Core i9-12900K processor as an example, in god of war 3following the instructions ESS2the game barely exceeds 5 FPS, while using the instructions HSE 4.1 It already offers a huge jump in performance by adding 160 FPS. If instructions are used AVX2/FMA we receive an additional 13% improvement to go to 187 FPS, but if we go to the instructions AVX-512we get almost 30% more performance boost to tackle the 242fps.

Taking into account that the AMD Ryzen 7000 They will give access to AVX-512 instructions, something for now exclusive to Intel, because thinking about emulation, it will be a big step forward.

RPCS3 - God of War 3 with AVX-512

Outside of RPCS3, AVX-512 is not widely used by many emulators, but the Arm dynamic recompiler can also take advantage of many AVX-512 instructions. Dynarmic is used by the Citra 3DS emulator, the Yuzu Nintendo Switch emulator, as well as the PS Vita Vita3K emulator I don’t know of any reference between AVX2 and AVX-512 targets for any of these emulators, but I guess the difference is less than with RPCS3, because the Arm cores support both vector and scalar instructions. spends more time executing scalar than vector instructions, the potential gain from vector optimizations is not huge. In the case of RPCS3, one of the main reasons why these vector optimizations are so powerful is that only SPUs support operations on the time spent emulating SPUs is spent executing vector instructions.

One emulator that would likely benefit greatly from AVX-512 optimizations is PCSX2. Since PS2 VUs have inspired much of the behavior and design of SPUs, many optimizations that apply to RPCS3 should also apply to PCSX2. In particular, vrangeps should be useful for improving your clamp code.

Hopefully this clears up some of the confusion about the usefulness of the AVX-512 for RPCS3. I haven’t highlighted all the AVX-512 instructions that RPCS3 can take advantage of, but I’ve highlighted the ones that I found the most interesting,” its developer explains on his blog.

About the author

admin

Add Comment

Click here to post a comment

Your email address will not be published.