发明名称 Predicate counter
摘要 According to an example embodiment, a processor such as a digital signal processor (DSP), is provided with a register acting as a predicate counter. The predicate counter may include more than two useful values, and in addition to acting as a condition for executing an instruction, may also keep track of nesting levels within a loop or conditional branch. In some cases, the predicate counter may be configured to operate in single-instruction, multiple data (SIMD) mode, or SIMD-within-a-register (SWAR) mode.
申请公布号 US9342306(B2) 申请公布日期 2016.05.17
申请号 US201313963793 申请日期 2013.08.09
申请人 ANALOG DEVICES GLOBAL 发明人 Higham Andrew J.;Lerner Boris;Sanghai Kaushal;Perkins Michael G.;Redford John L.;Allen Michael S.
分类号 G06F9/44;G06F9/30;G06F9/32;G06F9/38 主分类号 G06F9/44
代理机构 Patent Capital Group 代理人 Patent Capital Group
主权项 1. A processor, comprising: a processing element; a sequencer configured to provide a conditionally-executable instructions to the processing element, wherein a condition is provided by a predicate encoded in a predicate counter; and a predicate counter register configured to receive more than two meaningful values and to provide its value as the predicate counter; wherein the processor includes circuitry to provide IF, ELSE, and ENDIF primitives that are dependent on the predicate counter; wherein the IF primitive comprises: receiving a condition; if the predicate counter is not zero, incrementing the predicate counter; if the predicate counter is zero and the condition is false, setting the predicate counter to one; wherein the ELSE primitive comprises: if the predicate counter is zero, setting the predicate counter to one; and if the predicate counter is one, setting the predicate counter to zero; wherein the ENDIF primitive comprises: if the predicate counter is not zero, decrementing the predicate counter.
地址 Hamilton BM