发明名称 Method and apparatus for shuffling data
摘要 Method, apparatus, and program means for shuffling data. The method of one embodiment comprises receiving a first operand having a set of L data elements and a second operand having a set of L control elements. For each control element, data from a first operand data element designated by the individual control element is shuffled to an associated resultant data element position if its flush to zero field is not set and a zero is placed into the associated resultant data element position if its flush to zero field is not set.
申请公布号 US9229719(B2) 申请公布日期 2016.01.05
申请号 US201414586581 申请日期 2014.12.30
申请人 Intel Corporation 发明人 Macy, Jr. William W.;Debes Eric L.;Roussel Patrice L.;Nguyen Huy V.
分类号 G06F9/30;G06F7/76;G06F9/38 主分类号 G06F9/30
代理机构 Vecchia Patent Agent, LLC 代理人 Vecchia Patent Agent, LLC
主权项 1. A system comprising: a memory controller; a graphics controller; a network controller; and a processor coupled to the memory controller, the processor comprising: multiple levels of cache, including a level 1 (L1) cache; a plurality of registers, including a first register to store a plurality of control bytes and one or more second registers to store a plurality of byte values of a table; an instruction decoder to decode instructions including a Single Instruction Multiple Data (SIMD) instruction to perform a table lookup, the SIMD instruction to identify the first register, the one or more second registers, and a destination register; and an execution unit coupled to the instruction decoder and the plurality of registers, the execution unit to store a resultant in the destination register in response to the SIMD instruction, wherein for each control byte including a set to zero value in a most significant field, a zero is to be stored in a corresponding byte of the resultant, and for each control byte not including a set to zero value in a most significant field, a byte value from a position in the one or more second registers indicated by the control byte is to be stored in a corresponding byte of the resultant.
地址 Santa Clara CA US