C++ Optimizations in MSVC Build Tools 14.52
The Microsoft C++ team implemented new optimizations in MSVC Build Tools 14.52.
Let's walk through examples of some of these optimizations. We will focus on
reassociation, loop optimizations, SIMD code generation, inlining, and patterns. Where
noted, we'll also include a few optimizations that appeare...
This post provides a behind-the-scenes look at how we test MSVC's backend, which is responsible for optimization and code generation.
Many people worldwide use our compiler and expect it to provide a high-quality experience in terms of correctness (compiled code behaves as written), performance (speed of the compiled code), and throughput (speed...
This blog post presents a selection of machine-independent optimizations that were added between Visual Studio versions 17.4 (released November 8, 2022) and 17.7 P3 (released July 11, 2023). Each optimization below shows assembly code for both X64 and ARM64 to show the machine-independent nature of the optimization.
Optimizing Memory Across Block ...