发明名称 INSTRUCTION PROCESSING METHOD OF NETWORK PROCESSOR AND NETWORK PROCESSOR
摘要 The present invention provides an instruction processing method of a network processor and a network processor. The method includes: when the network processor executes a pre-added combined function call instruction, adding an address of its next instruction to a stack top of a first stack; judging, according to the combined function call instruction, whether an enable flag of each additional feature is enabled, and if enabled, adding a function entry address corresponding to an additional feature to the stack top of the first stack; and after finishing judging all enable flags, popping a function entry address in the first stack from the stack top of the stack, and executing a function corresponding to a popped function entry address until the address of the next instruction is popped. The network processor includes: a first processing module and a second processing module. In the present invention, only one judgment jump instruction needs to be added to a main line procedure to implement function call of all enabled additional features, which greatly saves an instruction execution cycle, and reduces influence of an additional feature on main line performance.
申请公布号 EP2592792(A4) 申请公布日期 2013.06.12
申请号 EP20100856565 申请日期 2010.08.30
申请人 HUAWEI TECHNOLOGIES CO. LTD. 发明人 YIN, GAOSONG;HAN, BING
分类号 (IPC1-7):H04L12/56 主分类号 (IPC1-7):H04L12/56
代理机构 代理人
主权项
地址
您可能感兴趣的专利