发明名称 Data processing apparatus and method for handling instructions to be executed by processing circuitry
摘要 A data processing apparatus and method are provided for handling instructions to be executed by processing circuitry. The processing circuitry has a plurality of processor states, each processor state having a different instruction set associated therewith. Pre-decoding circuitry receives the instructions fetched from the memory and performs a pre-decoding operation to generate corresponding pre-decoded instructions, with those pre-decoded instructions then being stored in a cache for access by the processing circuitry. The pre-decoding circuitry performs the pre-decoding operation assuming a speculative processor state, and the cache is arranged to store an indication of the speculative processor state in association with the pre-decoded instructions. The processing circuitry is then arranged only to execute an instruction in the sequence using the corresponding pre-decoded instruction from the cache if a current processor state of the processing circuitry matches the indication of the speculative processor state stored in the cache for that instruction. This provides a simple and effective mechanism for detecting instructions that have been corrupted by the pre-decoding operation due to an incorrect assumption of processor state.
申请公布号 US7925866(B2) 申请公布日期 2011.04.12
申请号 US20080314095 申请日期 2008.12.03
申请人 ARM LIMITED 发明人 GREENHALGH PETER RICHARD;ROSE ANDREW CHRISTOPHER;CRASKE SIMON JOHN;ZARDINI MAX
分类号 G06F9/30 主分类号 G06F9/30
代理机构 代理人
主权项
地址