发明名称 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 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, and executing a function corresponding to a popped function entry address until the address of the next instruction is popped. In the present invention, only one judgment jump instruction needs to be added to a main line procedure to implement function call of enabled additional features, which saves an instruction execution cycle.
申请公布号 US2013145122(A1) 申请公布日期 2013.06.06
申请号 US201313763811 申请日期 2013.02.11
申请人 HUAWEI TECHNOLOGIES CO., LTD.;HUAWEI TECHNOLOGIES CO., LTD. 发明人 YIN GAOSONG;HAN BING
分类号 G06F9/32 主分类号 G06F9/32
代理机构 代理人
主权项
地址