Processing device and a swizzle pattern generator
AssigneeSamsung Electronics Co., Ltd.
InventorsMoo-Kyoung CHUNG, Woong SEO, Ho-Young KIM, Soo-Jung RYU, Dong-Hoon YOO, Jin-Seok LEE, Yeon-Gon CHO, Chang-Moo KIM, Seung-Hun JIN
Life of this patent
Estimating the term…
Abstract
A swizzle pattern generator is provided to reduce an overhead due to execution of a swizzle instruction in vector processing. The swizzle pattern generator is configured to provide swizzle patterns with respect to data sets of at least one vector register or vector processing unit. The swizzle pattern generator may be reconfigurable to generate various swizzle patterns for different vector operations.
Claims19
An apparatus for executing swizzle instructions for vector operations, the apparatus comprising:
- a vector register configured to store a data set including data elements of a vector operation;
- a processor configured to perform the vector operation;
- and
- a swizzle pattern generator connected to the vector register and the processor, wherein the swizzle pattern generator is configured to create a swizzle pattern with respect to the data set,
- wherein the swizzle pattern generator comprises a swizzling network configured to create the swizzle pattern by combining data elements stored in different vector registers, a swizzled register configured to store the swizzle pattern, and wherein the swizzling network comprises one or more data lines,
- wherein each data line connects an output of the processor to an input of the vector register and an input of the swizzled register.
An apparatus for executing swizzle instructions for vector operations, the apparatus comprising:
- a vector register configured to store a data set including data elements of a vector operation;
- a processor configured to perform the vector operation;
- and
- a swizzle pattern generator connected to the vector register and the processor, and
- another vector register configured to store another data set including other data elements of the vector operation;
- wherein the swizzle pattern generator is further connected to the another vector register and configured to combine the data elements of the data set and the other data elements of the other data set to create the swizzle pattern and another swizzle pattern, and
- wherein the swizzle pattern generator is configured to create a swizzle pattern with respect to the data set.
An apparatus for executing swizzle instructions for vector operations, the apparatus comprising:
- a processor configured to perform a vector operation;
- a vector register configured to store a data set corresponding to a vector operation result received from the processor;
- a swizzling network connected to an output of the processor and configured to combine data elements stored in different vector registers to create a swizzle pattern simultaneously with the storing of the data set in the vector register;
- and
- a swizzled register connected to the swizzling network configured to store the swizzle pattern,
- wherein data lines are configured to create the swizzle pattern, and each data line connects an output of the processor to an input of the swizzled register.
A swizzle pattern generating apparatus comprising:
- data connections, each configured to connect an output of a processor to an input of a swizzled network;
- the swizzling network configured to generate swizzle patterns by combining data elements stored in different vector registers based on the data connections with respect to data sets output from the processor;
- a vector register connected to the data connections and configured to store the data sets output from the processor;
- and
- a swizzled register connected to an output of the swizzling network and configured to store data elements in an order corresponding to the swizzle patterns.
Dependencies are inferred from the claim text.