The huge processing power needed by multimedia applications has led to mul-timedia extensions in the instruction set of microprocessors which exploit sub-word parallelism. Examples of these extended instruction sets are the Visual Instruction Set of the UltraSPARC processor, the AltiVec instruction set of the PowerPC processor, the MMX and ISS extensions of the Pentium processors, and the MAX-2 instruction set of the HP PA-RISC processor. Currently, these extensions can only be used by programs written in assembly language, through system libraries or by calling specialized macros in a high-level language. There-fore, these instructions are not used by most applications. We propose two code generation techniques to produce native code using...