https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95750
--- Comment #6 from andysem at mail dot ru --- Also, I think (%%rsp) can be rather far from the top of the stack if the stack frame is large. This may mean it's less likely to be in data cache. Having a dummy variable ensures that it is close to the top.