2 ms·
If this were entirely true, VLIW would have been a clear win, but in practice it wasn't. ARM conditional execution is very clever.
by gaius 10y ago
If this were entirely true, VLIW would have been a clear win, but in practice it wasn't.
ARM conditional execution is very clever.
- gpderetta 10y ago> ARM conditional execution is very clever. also mostly dead in 64bit armv8
- Symmetry 10y agoThey have a special instruction now to predicate the next N instructions or not. In out of order implementations you want each instruction to have as few inputs as possible and my understanding was that the implicit input in the form of the branch information was causing problems. I've heard conflicting things about whether ARM processors split predicated instructions into two ops during decode.
- gpderetta 10y agoI'm way out of my depth as I know next to nothing about the ARM ISA, but as far as I know, there is no special instruction to predicate the next N instructions; conditional jumps don't count of course [1]. ARM v8 does have a predicated select instruction, but some form of it are available on many modern instruction sets. [1] interestingly, POWER8 is capable of converting unpredictable conditional jumps over a small number of instructions to conditional execution.
- legulere 10y agoVLIW is pretty much the same as a superscalar processor, except that the compiler has to do most of the work. Almost all high performance CPUs nowadays are superscalar.
- soulbadguy 10y agoNot quite, VLIW is basically a lock-step architecture. VLIW is much closer to a SIMD/GPU architecture then to a superscalar CPU
- Symmetry 10y agoThey work great in some situations, like playing back an MP3. If you're working with some problem where the memory accesses are either local or predictable enough that the prefetcher can guess right than a VLIW should be able to extract just as much parallelism as an OoO core and with less power. It's when you start suffering regular cache misses and the careful choreography of your VLIW instruction stream is thrown off that they start to lose. Which is most GUI programs, classical AI, web browsers and basically most things people do on desktops and servers so it's no surprise they lost there. But there are still lots of places in embedded computing where they're ubiquitous for good reason and your phone might very well have one in it too to offload some tasks to.