1. A method, in a data processing system, for generating code to perform scalar operations on a vector execution unit, comprising: receiving application code, wherein the application code includes a scalar operation; generating a first load vector instruction, based on the scalar operation, for loading a first scalar value into a first vector register; generating a second load vector instruction, based on the scalar operation, for loading a second scalar value into a second vector register; and generating a vector computational instruction for combining the first scalar value in the first vector register with the second scalar value in the second vector register to thereby compute a scalar result.