Re:Register-based VMs have a higher performance than stack-b...
by Lerc on Sunday December 11, 2016 @08:43PM
(#13154885)
I remember reading a paper a while ago with similar conclusions.
It concluded that register was faster than stack based but stack based had better code density. The reason seemed to be due to the branch prediction cost per instruction. Fewer but more more powerful instructions reduced the number of times the instruction decode operation occurred.
It concluded that register was faster than stack based but stack based had better code density. The reason seemed to be due to the branch prediction cost per instruction. Fewer but more more powerful instructions reduced the number of times the instruction decode operation occurred.