会员体验
专利管家(专利管理)
工作空间(专利管理)
风险监控(情报监控)
数据分析(专利分析)
侵权分析(诉讼无效)
联系我们
交流群
官方交流:
QQ群: 891211   
微信请扫码    >>>
现在联系顾问~
热词
    • 3. 发明申请
    • INSTRUCTION PROCESSING METHOD OF NETWORK PROCESSOR AND NETWORK PROCESSOR
    • 网络处理器和网络处理器的指令处理方法
    • US20130145122A1
    • 2013-06-06
    • US13763811
    • 2013-02-11
    • Huawei Technologies Co., Ltd.
    • Gaosong YinBing Han
    • G06F9/32
    • G06F9/32G06F9/322G06F9/4486
    • 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.
    • 本发明提供一种网络处理器和网络处理器的指令处理方法。 该方法包括:当执行预先组合的功能调用指令时,将其下一指令的地址添加到第一堆栈的堆叠顶部; 根据所述组合功能调用指令判断是否启用每个附加特征的使能标志,并且如果启用,则将与附加特征相对应的功能入口地址添加到所述第一堆栈的堆栈顶部; 并且在完成判定所有使能标志之后,弹出第一堆栈中的功能入口地址,并执行与弹出的功能入口地址对应的功能,直到下一条指令的地址被弹出。 在本发明中,仅需要将一条判断跳转指令添加到主线程序中,以实现启用的附加特征的功能调用,从而节省指令执行周期。