1. A method, comprising: receiving a plurality of scalar single instruction multiple data stream (SIMD) instructions; and translating the plurality of scalar SIMD instructions into a plurality of non-scalar SIMD instructions with respect to a target architecture supporting only parallel SIMD instructions, the non-scalar SIMD instructions being optimized to minimize the number of the generated non-scalar SIMD instructions.