Invention Grant
- Patent Title: Alignment and ordering of vector elements for single instruction multiple data processing
- Patent Title (中): 用于单指令多数据处理的向量元素的对齐和排序
-
Application No.: US11702659Application Date: 2007-02-06
-
Publication No.: US07793077B2Publication Date: 2010-09-07
- Inventor: Timothy J. Van Hook , Peter Yan-Tek Hsu , William A. Huffman , Henry P. Moreton , Earl A. Killian
- Applicant: Timothy J. Van Hook , Peter Yan-Tek Hsu , William A. Huffman , Henry P. Moreton , Earl A. Killian
- Applicant Address: US CA Sunnyvale
- Assignee: MIPS Technologies, Inc.
- Current Assignee: MIPS Technologies, Inc.
- Current Assignee Address: US CA Sunnyvale
- Agency: Sterne, Kessler, Goldstein & Fox P.L.L.C
- Main IPC: G06F9/34
- IPC: G06F9/34

Abstract:
The present invention provides alignment and ordering of vector elements for SIMD processing. In the alignment of vector elements for SIMD processing, one vector is loaded from a memory unit into a first register and another vector is loaded from the memory unit into a second register. The first vector contains a first byte of an aligned vector to be generated. Then, a starting byte specifying the first byte of an aligned vector is determined. Next, a vector is extracted from the first register and the second register beginning from the first bit in the first byte of the first register continuing through the bits in the second register. Finally, the extracted vector is replicated into a third register such that the third register contains a plurality of elements aligned for SIMD processing. In the ordering of vector elements for SIMD processing, a first vector is loaded from a memory unit into a first register and a second vector is loaded from the memory unit into a second register. Then, a subset of elements are selected from the first register and the second register. The elements from the subset are then replicated into the elements in the third register in a particular order suitable for subsequent SIMD vector processing.
Public/Granted literature
- US20070250683A1 Alignment and ordering of vector elements for single instruction multiple data processing Public/Granted day:2007-10-25
Information query