Patent ID: 6484255
Filing Date: 2002-11-19
Classification: G06F

Abstract:
A computer-implemented method comprising:selecting one data element of a packed data operand as a currently selected data element, wherein each data element of said packed data operand has a corresponding mask data element indicating whether it is selected for writing; storing a value indicating a currently selected storage location for said currently selected data element; determining a predicate value for the currently selected data element from one or more bits of said corresponding mask element, selectively writing the currently selected data element from said packed data operand by performing the following in parallel processing units, writing said currently selected data element to said currently selected storage location based on said predicate value, incrementing said value indicating said currently selected storage location, selecting another data element of said packed data operand as said currently selected data element and determining a predicate value for that data element from one or more bits of said corresponding mask element; repeating said selectively writing until the last of the data elements of said packed data operand is the currently selected data element; and writing said currently selected data element to said currently selected storage location based on said predicate value.