You are probably right, I've been away from this level of implementation for 
the last decade, but I was under the impression that if the branch target is 
fully known enough cycles in advance (as could be in this case if the jump 
table is in L1, if loading of ebp was pushed further back, and which IIRC 
LuaJIT2 does do) there is, in fact, no prediction involved. I'm likely wrong, 
though, and extrapolated the state of the art farther than where it actually is.

Reply via email to