![]() The method of claim 1 further comprising: storing the first vector in a stream head register storing the first respective validity indicator in a validity register and receiving a read instruction from the processor, wherein: the providing of the first vector and the first respective validity indicator are performed based on the read instruction the first vector is provided from the stream head register to the processor and the first respective validity indicator is provided from the validity register to the processor.Ĩ. The method of claim 1 further comprising receiving a duplication parameter that specifies, for each vector of the set of vectors, whether the remainder includes a null element or a duplicate of a data element contained in the data portion of the respective vector, wherein the respective validity indicator for the respective vector indicates whether the remainder includes the null element or the duplicate of the data element contained in the data portion of the respective vector.ħ. The method of claim 1 further comprising: receiving a promotion parameter associated with the stream instruction and determining whether to promote the set of elements to a larger size prior to arranging the set of data elements into the set of vectors based on the promotion parameter.Ħ. The method of claim 3, wherein the at least one invalid element has a zero value.ĥ. The method of claim 1, wherein the remainder of each vector of the set of vectors contains at least one invalid element.Ĥ. The method of claim 1, wherein: each vector of the set of vectors has a set of lanes defined therein and the respective validity indicator for each vector includes a bit for each lane of the set of lanes that specifies whether the respective lane is associated with the data portion or the remainder.ģ. A method comprising: receiving a stream instruction from a processor receiving a vector length parameter associated with the stream instruction based on the stream instruction, generating a set of addresses retrieving a set of data elements associated with the set of addresses from a memory arranging the set of data elements into a set of vectors, wherein: a count of data elements in each vector of the set of vectors is based on the vector length parameter each vector of the set of vectors includes a data portion that includes at least one data element of the set of data elements and a remainder that does not include a data element of the set of data elements determining a respective validity indicator for each vector of the set of vectors that specifies the data portion and the remainder and providing a first vector of the set of vectors and a first respective validity indicator associated with the first vector to a processor.Ģ. ![]()
0 Comments
Leave a Reply. |