发明名称 Increment-propagate and decrement-propagate instructions for processing vectors
摘要 The described embodiments provide a processor for generating a result vector with incremented or decremented values from an input vector. During operation, the processor receives an input vector and a control vector. The processor then copies a value contained in a selected element of the input vector. The processor next generates the result vector, which involves writing an incremented or decremented value to the result vector, depending on the value of the control vector and the embodiment. In addition, a predicate vector can be used to control the values that are written to the result vector.
申请公布号 US8762690(B2) 申请公布日期 2014.06.24
申请号 US200912495631 申请日期 2009.06.30
申请人 Apple Inc. 发明人 Gonion Jeffry E.;Diefendorff, Jr. Keith E.
分类号 G06F15/00;G06F7/38;G06F9/00;G06F9/44 主分类号 G06F15/00
代理机构 Park, Vaughan, Fleming & Dowler LLP 代理人 Park, Vaughan, Fleming & Dowler LLP ;Jones Anthony P.
主权项 1. A method for generating a result vector with incremented values from an input vector, comprising: receiving the input vector and a control vector, and optionally receiving a predicate vector, wherein each vector includes N elements; recording a value from an element at a key element position in the input vector into a base value; and generating the result vector, wherein generating the result vector involves, if the predicate vector is received, for each element in the result vector to the right of the key element position for which a corresponding element in the predicate vector contains a non-zero value, otherwise, for each element in the result vector to the right of the key element position, setting the element in the result vector equal to the base value plus a number of relevant elements in the result vector from an element at the key element position in the result vector to and including a predetermined element in the result vector.
地址 Cupertino CA US