RE: [PATCH net-next] r8152: simply the arguments
From: Hayes Wang
Date: Thu Mar 16 2017 - 23:34:39 EST
David Laight [mailto:David.Laight@xxxxxxxxxx]
> Sent: Thursday, March 16, 2017 10:28 PM
[...]
> If you are really lucky the compiler will optimise it away.
> Otherwise it will generate another local variable and possibly
> a register spill to stack.
However, I could reduce the time for calculating the address,
because I only calculate it once and save the result to a variable.
Right?
Best Regards,
Hayes