发明名称 Vector index instruction for generating a result vector with incremental values based on a start value and an increment value
摘要 The described embodiments include a processor that executes a vector instruction. The processor starts by receiving a start value and an increment value, and optionally receiving a predicate vector with N elements as inputs. The processor then executes the vector instruction. Executing the vector instruction causes the processor to generate a result vector. When generating the result vector, if the predicate vector is received, for each element in the result vector for which a corresponding element of the predicate vector is active, otherwise, for each element in the result vector, the processor sets the element in the result vector equal to the start value plus a product of the increment value multiplied by a specified number of elements to the left of the element in the result vector.
申请公布号 US8793472(B2) 申请公布日期 2014.07.29
申请号 US201113291931 申请日期 2011.11.08
申请人 Apple Inc. 发明人 Gonion Jeffry E.;Diefendorff Keith E.
分类号 G06F17/16;G06F9/30 主分类号 G06F17/16
代理机构 Park, Vaughan, Fleming & Dowler LLP 代理人 Park, Vaughan, Fleming & Dowler LLP ;Jones Anthony P.
主权项 1. A method for generating a result vector with N elements, comprising: receiving a start value, and an increment value, and optionally receiving a predicate vector, wherein the predicate vector includes N elements; and generating the result vector, wherein generating the result vector comprises, when the predicate vector is received, for each element in the result vector for which a corresponding element of the predicate vector is active, otherwise, for each element in the result vector, setting the element in the result vector equal to the start value plus a product of the increment value multiplied by a specified number of elements to the left of the element in the result vector.
地址 Cupertino CA US