MSVC is the only compiler to apply optimizations based on restrict on local variables, which it immediately remediates by generating a lot more stack shuffling than GCC or Clang: https://godbolt.org/z/954dGcabx