3 ms·
Yeah now I remember from reading this paper a few weeks ago: An important point is that SSA is not executable!!! The Phi nodes need to be removed I suppose. I
by chubot 8y ago
Yeah now I remember from reading this paper a few weeks ago: An important point is that SSA is not executable!!! The Phi nodes need to be removed I suppose.
I will have to read this paper about Appel to see how that comes into play.
SSA form cannot be directly interpreted in order to generate code. Therefore it
must be destructed before compilation can continue. This involves using an algorithm
that converts phi-functions into appropriately-placed copy instructions.
Intermediate representations in imperative compilers: A survey
https://scholar.google.com/scholar?cluster=15761365096026414559&hl=en&as_sdt=0,5&as_vis=1 https://scholar.google.com/scholar?cluster=15761365096026414...
- nickpsecurity 8y agoLike with parallel DFS, I always look for anything people say is not possible. Here's my first hit on Google with a super-quick skim indicating it runs with phi instructions: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.74.9046&rep=rep1&type=pdf http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.74.... May or may not be what you're looking for. Probably interesting nonetheless.
- chubot 8y agoThanks, that does look interesting. The fact that interpreting SSA requires a paper means it's nontrivial, which lends credence to the original statement :) In the abstract it says they present a variant of SSA. I will take a look.