4 ms·
What kind of games care about such specific instructions? Unless you are writing something in assembly, that's not something game developers usually are focused
by shmerl 7y ago
What kind of games care about such specific instructions? Unless you are writing something in assembly, that's not something game developers usually are focused on.
- gameswithgo 7y agoUnity is a very high level engine, that uses C#, and it now has a system built in that lets you write code that looks like C# but will translate it to whatever SIMD instruction set is available, like ISPC. There are also various libraries that leverage metaprogramming to do similar things. I don't think you understand what game devs are willing to do, to get a few more polygons and pixels on the screen!
- shmerl 7y ago> I don't think you understand what game devs are willing to do, to get a few more polygons and pixels on the screen! Totally depends on the trade-offs. You can write your whole game in assembly, and target very specific hardware, and may be beat optimizing compiler (doubtful). But at what cost? Time spent on that could be spent on making more games. Normal up to date hardware handles games just fine, as long as they are not using some abysmal and poorly parallelized engines. Modern CPUs with more cores are also helping that, especially after Ryzen processors opened the gates for it.
- paulmd 7y agoAll kinds of games use AVX. Particularly, anything using Denuvo won't run without it. AVX-512 isn't just wider execution units, it's different types of instructions, particularly some that fill in holes in the existing sets of instructions. Once it starts to be widely available, it will get used, and will eventually be a requirement, just like AVX has. Ice Lake is introducing AVX-512 on Intel mobile, Tiger Lake will introduce it on desktop, presumably Zen3 will be introducing it on AMD.