发明名称 Method and apparatus for efficient loop instruction execution using bit vector scanning
摘要 A method, apparatus and computer program product for performing efficient loop instruction execution using bit vector scanning is presented. A bit vector is scanned, each bit in the bit vector representing at least one of a feature and a conditional status. The presence of a bit of said bit vector set to a first state is detected. The bit is set to a second state. An instruction address for a routine corresponding to said bit set to a first state is looked up using a bit position of said bit that was set to a first state. The routine is executed. The scanning, said detecting, said setting and said using are repeated until there are no remaining bits of said bit vector set to said first state.
申请公布号 US9152423(B2) 申请公布日期 2015.10.06
申请号 US201113071730 申请日期 2011.03.25
申请人 AVAYA INC. 发明人 Assarpour Hamid;Craren Mike;Modelski Rich
分类号 G06F15/00;G06F7/38;G06F9/00;G06F9/44;G06F9/32;G06F9/30 主分类号 G06F15/00
代理机构 Anderson Gorecki & Rouille LLP 代理人 Anderson Gorecki & Rouille LLP
主权项 1. A computer-implemented method in which a computer system performs operations comprising: saving Program Counter content to a register; scanning a bit vector wherein said computer system comprises a multi-threaded packet processor, wherein a bit of said bit vector correlates to a packet processing feature and wherein said packet processing feature comprises one of the group consisting of packet mirroring, packet re-mark, IP fix and packet policing; detecting the presence of a bit of said bit vector set to a first state; setting said bit to a second state; using a bit position of said bit that was set to a first state to look up an instruction address for a routine corresponding to said bit set to a first state; executing said routine; and repeating said scanning, said detecting, said setting and said using until there are no remaining bits of said bit vector set to said first state, wherein said repeating said scanning, said detecting, said setting and said using comprises performing a branch to said register in order to execute said instruction again.
地址 Basking Ridge NJ US