2 ms·
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 o
by JoshTriplett 10y ago
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.