News for hackers. Stuff that matters.
Re:What do RISC and CISC mean in 2020? by FullyFunctional on Friday November 20, 2020 @09:08PM (#25167340)
All high-end processors do it, but that doesn't come for free (design/verification effort + silicon area/power). Also, the capacity for this is limited to the size of the store buffer so without the needless spills, you can apply all this expensive machinery to more real memory ops.

(A similarly but different debate could be had over all the save/reloads we incur on function entry/exits. 29k and SPARC's register windows were attempts at avoiding those).

Re:What do RISC and CISC mean in 2020? by FullyFunctional on Saturday November 21, 2020 @12:59AM (#25168098)
I failed to add that the stores aren't eliminated by this either so we are also incurring increased memory traffic unnecessarily.
Re:What do RISC and CISC mean in 2020? by jcranmer on Saturday November 21, 2020 @01:24AM (#25168175)
We're talking about stores to the stack, which is likely to not be used by other threads/processors, so all of the values are being modified in a cache entry helpfully held in the Modified state and incurring no bus traffic. It will use up the traffic to/from the cache, though.
Re:What do RISC and CISC mean in 2020? by FullyFunctional on Saturday November 21, 2020 @02:31AM (#25168346)
Yes I did mean cache traffic, poor choice of words, but the point is the same (filling up the store buffers etc).