ld r1, [r2 + 10]
st [r3 + 4], r4
And then consider things like speculative execution.Either have a stupid ISA and do all the work ahead-of-time with way more compute time to optimize or don't optimize and have a higher level ISA, that also hs concepts like pointer provenance.
The current state seams like a local minima with both having ahead-of-time optimization, but the ISA does it's thing anyways and also the compiler throwing much of the information away with OoO analysis being time-critical.
Meanwhile the CPU probably can't do a loop invariant hoist in a reasonable way or understand high level semantics.
Isn't having fixed-size naturally-aligned instructions (like on 64-bit ARM) enough to get that advantage?
Really VLIW is a fine idea. It's just not that great an idea, and in practice it wasn't enough to save ia64. But it's not what killed it, either.
And by the way that's why open source makes such migrations much cheaper.