发明名称 Data processing apparatus and method for pre-fetching an instruction in to an instruction cache
摘要 The present invention provides a data processing apparatus for fetching an instruction in to an instruction cache, comprising an instruction cache for storing instructions, and a processor core for outputting an instruction address to the instruction cache on an instruction address bus, and for receiving the instruction corresponding to that instruction address on an instruction data bus The processor core is arranged to issue a predetermined control signal to the instruction cache when outputting the instruction address to cause the instruction cache to perform an instruction fetch procedure. In accordance with the present invention, a coprocessor is provided for executing a first predetermined instruction also executed by the processor core, the first predetermined instruction causing the coprocessor to issue the predetermined control signal to the instruction cache, and causing the processor core to output to the instruction cache the instruction address data for an instruction to be added to the instruction cache without issuing the predetermined control signal. Further, the instruction cache is responsive to the predetermined control signal from the coprocessor and the instruction address from the processor core to perform the instruction fetch procedure, and, if this results in a cache miss, to cause the retrieval of the instruction from memory for storage in the instruction cache, the processor core being arranged to ignore the retrieved instruction. The above approach allows an instruction to be pre-fetched and stored in the instruction cache without that instruction being returned to the processor core for execution, and without any additional logic needing to be added to the instruction cache to support pre-fetching.
申请公布号 US5961631(A) 申请公布日期 1999.10.05
申请号 US19970893982 申请日期 1997.07.16
申请人 ARM LIMITED 发明人 DEVEREUX, IAN VICTOR;SALTER, NICHOLAS ANDREW
分类号 G06F9/38;(IPC1-7):G06F13/00 主分类号 G06F9/38
代理机构 代理人
主权项
地址
您可能感兴趣的专利