Very Long Instruction Word orVLIW which refers to aCPUarchitecture designed to take advantage ofinstruction level parallelism (ILP) but at minimum level ofhardware complexities. ( Alternatively,Variable Length Instruction Word orVLIW a refers to aCPU instruction (instruction set ) designed to load ( or copy ) a literal value count of inlineMachine code to the on-chip RAM for higher speedCPU decoding. )
A processor that executes everyinstruction one after the other (i.e. a non-pipelined scalar architecture) may use processor resourcesinefficiently, leading to poorperformance. The performance can be improved by usingmicro-architecturaldesigntechniques that useILP including:
All aboveILPtechniques are implemented at a higher cost with increased hardware complexity. Before executing any operations in-parallel, the processor must verify that the instructions do not haveinterdependencies. There are many types of interdependencies, but a simple example would be a program in which the first instruction's result is used as an input for the second instruction. They clearly cannot execute at the same time, and the second instruction cannot be executed before the first. Modernout-of-orderprocessors use major resources in order to take advantage of these techniques, since the scheduling of instructions must be determineddynamically as a program executes based on dependencies.
TheVLIW approach, on the other hand, executes operation in parallel based on a fixed schedule determined when programs arecompiled. Since determining the order of execution ofoperations (including which operations can execute simultaneously) is handled by the compiler, the processor does not need the complex hardware required byILPtechniques described above. As a result,VLIW CPUs offer significantcomputational power with less hardware complexity but with greatercompiler design complexity.
TheVLIW approach is a concept which is only useful as the code generated by acompiler makes it, but with a number of special-purpose instructions available to simplify certain complicated operations: