首页>
外国专利>
Instructions and logic for providing vector scattering calculation function and vector collection calculation function
Instructions and logic for providing vector scattering calculation function and vector collection calculation function
展开▼
机译:提供矢量散射计算功能和矢量集合计算功能的指令和逻辑
展开▼
页面导航
摘要
著录项
相似文献
摘要
Instructions and logic provide vector scatter-op and/or gather-op functionality. In some embodiments, responsive to an instruction specifying: a gather and a second operation, a destination register, an operand register, and a memory address; execution units read values in a mask register, wherein fields in the mask register correspond to offset indices in the indices register for data elements in memory. A first mask value indicates the element has not been gathered from memory and a second value indicates that the element does not need to be, or has already been gathered. For each having the first value, the data element is gathered from memory into the corresponding destination register location, and the corresponding value in the mask register is changed to the second value. When all mask register fields have the second value, the second operation is performed using corresponding data in the destination and operand registers to generate results.
展开▼