Category : amd

I have the following C++17 code that I compile with VS 2019 (version 16.8.6) in x64 mode: struct __declspec(align(16)) Vec2f { float v[2]; }; struct __declspec(align(16)) Vec4f { float v[4]; }; static constexpr std::uint64_t N = 100’000’000ull; const Vec2f p{}; Vec4f acc{}; // Using virtual method: for (std::uint64_t i = 0; i < N; ++i) ..

Read more