首页> 外国专利> A technique for generating an address during an instruction decode cycle in a RISC processor

A technique for generating an address during an instruction decode cycle in a RISC processor

机译:一种在RISC处理器中的指令解码周期内生成地址的技术

摘要

Apparatus and accompanying methods, particularly suited for use in conjunction with pipelined instruction processing occurring in a processor of a reduced instruction set computer (RISC), for generating an address during a decode cycle of the instruction processing. Use of this technique substantially eliminates a wait state frequently caused by an address generation cycle that otherwise occurs during pipelined processing of RISC instructions and thereby advantageously increases the processing speed of the RISC processor. In particular, a RISC instruction is both fully decoded and pre-decoded in parallel. The pre-decoding is used to extract the displacement field from the instruction, select a proper base address for the current RISC instruction and, in conjunction with formatting operations, properly align the displacement field - all within the current decode cycle. The base and aligned displacement addresses are then applied to separate inputs of an address adder. The output of the adder is propagated through an address register to an output as a memory address during the decode cycle in the event the full instruction decoding confirms that the current RISC instruction does require an address to be calculated; otherwise, the calculated address produced by the adder during this decode cycle is merely discarded by being over-written during a decode cycle for a subsequent RISC instruction.
机译:特别适合与在精简指令集计算机(RISC)的处理器中发生的流水线指令处理结合使用的设备和随附方法,用于在指令处理的解码周期内生成地址。使用该技术基本上消除了通常由地址生成周期引起的等待状态,该等待状态否则将在RISC指令的流水线处理期间发生,从而有利地提高了RISC处理器的处理速度。尤其是,RISC指令同时被完全解码和预解码。预解码用于从指令中提取位移字段,为当前RISC指令选择合适的基地址,并与格式化操作一起,在所有当前解码周期内正确对齐位移字段。然后将基地址和对齐的位移地址应用于地址加法器的单独输入。如果全指令解码确认当前的RISC指令确实需要计算地址,则在解码周期内,加法器的输出将通过地址寄存器传播到输出,作为存储地址。否则,仅通过在随后的RISC指令的解码周期内对其进行改写而将加法器在此解码周期内产生的计算地址丢弃。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号