News for hackers. Stuff that matters.
Re:Writing a game engine in pure C: The Graphic Initialization by mikepurvis on Wednesday June 05, 2019 @03:47PM (#20108396)
Interestingly, gcc-8 does some really weird stuff. Its version of Multiply is 1.4 times slower than its version of Shift, but according to the disassembly, the Shift implementation is actually using an imul, whereas the Multiply implementation is doing a lea/shl.

There are no comments on this comment yet.