2 ms·
I'm curious why the author showed the C++ source code, but not the (per-architecture) disassembly. I would think that's a much better starting point for trying
by CoastalCoder 5y ago
I'm curious why the author showed the C++ source code, but not the (per-architecture) disassembly.
I would think that's a much better starting point for trying to understand the μ-architectural behavior.
- mlindner 5y agoBecause anyone can plug the C++ into compiler explorer (godbolt) and get a result. He linked to compiler explorer a couple times in the article as well.
- CoastalCoder 5y agoIn this particular situation, I'd expect the compiler version and compiler flags really matter. Apologies if I'm overlooking that info, but I can't spot it anywhere in the article.