News for hackers. Stuff that matters.
Re:Squeezing a Little More Performance Out of Bytecode Inter... by CmdDot on Sunday June 18, 2023 @11:35AM (#36381194)
I don’t see why it would be dependent on the amount of code - the amount of bytecodes is constant, and the likelyhood of bytecode B following bytecode A should remain fairly stable. Adding the bytecode equivalent of fused madd if there’s unused space would be an interesting extension - but maybe a bit unintuitive in the heuristics of how to choose good candidates - if it’s really the mispredictions that cause stalls, you’d want the ones where the split of A -> B and A -> C is fairly even, not the most common combinations. Almost worth a paper of its own to explore :)

There are no comments on this comment yet.