IDENTIFICATION OF MISSING CALL AND RETURN INSTRUCTIONS FOR MANAGEMENT OF A RETURN ADDRESS STACK
    1.
    发明申请
    IDENTIFICATION OF MISSING CALL AND RETURN INSTRUCTIONS FOR MANAGEMENT OF A RETURN ADDRESS STACK 有权
    错误呼叫的标识和返回指令返回地址堆栈的管理

    公开(公告)号:US20140331028A1

    公开(公告)日:2014-11-06

    申请号:US13875704

    申请日:2013-05-02

    Applicant: ARM LIMITED

    CPC classification number: G06F9/3861 G06F9/30054 G06F9/3806

    Abstract: A data processing apparatus and method of data processing are disclosed. A fetch unit retrieves program instructions comprising call instructions and return instructions from memory to be executed by an execution unit. A branch prediction unit generates a return address prediction for an identified return instruction with reference to a return address stack. The branch prediction unit performs a return address push onto said return address stack when the execution unit executes a call instruction and performs a return address pop from the return address stack when the execution unit executes a return instruction. An error detection unit identifies a missing call instruction or a missing return instruction in said program instructions by reference to the return address prediction, a resolved return address indicated by the execution unit when the return instruction is executed and the content of the return address stack.

    Abstract translation: 公开了一种数据处理装置和数据处理方法。 提取单元检索包括来自存储器的调用指令和返回指令以由执行单元执行的程序指令。 分支预测单元参考返回地址堆栈生成针对所标识的返回指令的返回地址预测。 当执行单元执行呼叫指令并且当执行单元执行返回指令时,从返回地址堆栈执行返回地址弹出时,分支预测单元执行到所述返回地址堆栈的返回地址推送。 错误检测单元通过参考返回地址预测来识别所述程序指令中的缺失的调用指令或缺少的返回指令,当执行返回指令时由执行单元指示的解析返回地址和返回地址堆栈的内容。

Patent Agency Ranking