People, sometimes, wonder what compilers are used in game development, since the game developers always try to squeeze every inch of performance out their engines. In reality, games don't really need any kind of special super-optimizing compiler. Games developers use different compilers, such as LLVM, Microsoft Visual Studio, ICC, etc.
On the other hand, every compiler take advantage of specific CPU features in different ways. This doesn’t mean that a specific compiler is biased. This means that a compiler has some advantage over a rival compiler in some field.
With this article, we want to see the behavior of Zen+ and Coffee Lake uArchs in old and recent video games, with and without uArch optimizations.
Test Configuration
All the configurations are Spectre and Meltdown protected.
| CPU | Intel Core i3-8100 | Intel Core i5-8400 | AMD Ryzen 5 2600X/2600 |
| Cooler | Intel Stock | Intel Stock | Wraith Spire/Stealth |
| Main Board |
Gigabyte Z370 Ultra Gaming | Gigabyte X470 Gaming 7 WiFi | |
| BIOS | F8 | F4d | |
| RAM | G.Skill 2x8GB DDR4-3400 F4-3400C16D-16GSXW | ||
| Timings (XMP 2.0) | 16-16-16-36-2T | 16-16-16-36-1T | |
| SSD O.S. |
Transcend TS32GMTS800 32GB SATAIII M.2 | ||
| SSD Steam | GOODRAM IRDM ULTIMATE 480GB M.2 NVMe | ||
| Video Card |
XFX Fury X 4GB + Raijintek Morpheus II | ||
| O.S. (Edition/Version.Build) |
Windows 10 Professional (16299.371) | ||
| Driver Chipset | Intel 10.1.17541.8066 | AMD 18.10.0418 | |
| Driver GPU | Adrenalin Edition 18.2.1 | ||
The tests follow these rules:
- every test is repeated three times;
- if a test shows an anomalous result, we repeat the test until we discover the cause;
- the test rig includes just the operating system, the drivers and the software to benchmark;
- Intel rig has enabled the "Ultimate Performance Power Plan". Ryzen rig has enabled "Ryzen Balanced Power Plan".
| CPU | AMD Ryzen 5 2600X | AMD Ryzen 5 2600 | Intel Core i3-8100 | Intel Core i5-8400 |
| uArch | Zen+ | Zen+ | CoffeeLake | CoffeeLake |
| Node |
12nm GlobalFoundries | 12nm GlobalFoundries | 14nm Intel | 14nm Intel |
| Core/Thread | 6/12 | 6/12 | 4/4 | 6/6 |
| Frequency/Turbo | 3.6/4.2 GHz | 3.4/3.9 GHz | 3.6/- GHz | 2.8/4.0 GHz |
| Cache L2 | 6 x 512KB | 6 x 512KB | 4 x 256KB | 6 x 256KB |
| Cache L3 | 16MB | 16MB | 6MB | 9MB |
| TDP | 95W | 65W | 65W | 65W |
| Price (MSRP) |
229$ | 199$ | 117$ | 187$ |