News for hackers. Stuff that matters.
Re:Learning to Read X86 Assembly Language by JoshTriplett on Sunday November 27, 2016 @11:50PM (#13053482)
With optimization turned on?

GCC produces an lea that multiplies by 5 into %rax for the return value, then another lea that multiplies that by 2 and adds the original.

There are no comments on this comment yet.