@jqgregory Is there a more detailed explanation somewhere of the "pipeline stall" discussed in this passage from your book? I was asked about it, and I can't think of anything to which it could be referring. (https://imgur.com/76F458o )
-
-
Separately, the add instruction is single-cycle and on at least three ports (for Intel anyways), so if the compiler does decide to preincrement the value, it's hidden by the load of the base address anyway.
-
So if somebody has an example of some actual C code someone might write in the real world, where a pre-increment actually compiles to a cycle stall that would disappear if you switch to post-increment, I would like to see it so I can see what they're talking about.
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
