Patent ID: 8732437

Claim:
A computer implemented method of performing a SIMD operation on a data set, said method comprising: examining a structure of said data set to be processed according to said SIMD operation to determine whether one of a set of data organization issues is present in said data set; when one of said set of data organization issues is present in said data set, selecting one of a set of stored bit masks for reorganizing said data set to facilitate performance of said SIMD operation on said data set, each of said set of stored bit masks corresponding to one of said set of data organization issues, said selected stored bit mask corresponding to said data organization issue present in said data set; appending said SIMD operation to point to a chosen one of a plurality of application specific registers, each of said plurality of application specific registers containing one of said set of stored bit masks, said chosen application specific register corresponding to said selected stored bit mask; reorganizing, after said selecting step, at least a first portion of said data set as said data set is loaded into a SIMD processing unit, wherein said reorganizing is performed in-line by said chosen application specific register according to said selected stored bit mask; performing said SIMD operation on said reorganized data set; and writing a result of said SIMD operation to a destination register after said performing step.