首页> 外国专利> APPARATUS AND METHOD IN A DIGITAL COMPUTER FOR ALLOWING IMPROVED PROGRAM BRANCHING WITH BRANCH ANTICIPATION REDUCTION OF THE NUMBER OF BRANCHES, AND REDUCTION OF BRANCH DELAYS

APPARATUS AND METHOD IN A DIGITAL COMPUTER FOR ALLOWING IMPROVED PROGRAM BRANCHING WITH BRANCH ANTICIPATION REDUCTION OF THE NUMBER OF BRANCHES, AND REDUCTION OF BRANCH DELAYS

机译:数字计算机中的装置和方法,用于通过减少分支数量的分支提示和减少分支延迟来允许改进的分支程序

摘要

1282341 Data processing INTERNATIONAL BUSINESS MACHINES CORP 12 Jan 1970 [15 Jan 1969] 1358/70 Heading G4A In stored-program data processing apparatus, switching to another instruction stream as a result of a successful conditional branch instruction occurs after execution of a marker instruction. Instructions are accessed from memory and inserted into the top of a multi-instruction pushdown buffer together with bits indicating, for each instruction, whether or not it is a target, branch or exit instruction. The target bit is provided at the memory (see below) and the branch and exit bits are derived by a predecoder. The instruction at the bottom of the buffer is decoded. If it is a branch instruction, two fields in it select two bits from a condition register and 1 of 8 logical functions of these specified by part of the op code is evaluated in a function generator to determine whether the branch should be taken, the branching being to an address obtained by adding a field from the instruction and the contents of one of a plurality of registers selected by another field of the instruction. However, the sequence of instruction fetching branches to this address only when the next exit instruction enters the buffer. The branched-to instruction has its target bit set to 1 at the memory. Decoding and therefore execution of each instruction in the buffer between the exit instruction and the target instruction is inhibited, the inhibition terminating when the target instruction is shifted into the bottom position of the buffer, in response to the target bit of 1. Decoding of any branch instruction after a successful branch instruction and before the next exit instruction is also inhibited. If both an exit and a branch instruction are present in the buffer but a successful branch has not been determined, instruction fetching is suspended until not all these conditions exits, thus awaiting the result of the branch test. Instruction fetching is from the next sequential address if there is no exit instruction in the buffer, and if there is but there is neither a branch instruction in the buffer nor an indication of a successful branch determined.
机译:1282341数据处理国际商业机器公司1970年1月12日[1969年1月15日] 1358/70标题G4A在存储程序数据处理设备中,由于成功执行条件分支指令而在执行标记指令后切换到另一个指令流。可以从内存中访问指令,并将其与指示每个指令是目标指令,分支指令还是退出指令的位一起插入多指令下推缓冲区的顶部。目标位在内存中提供(请参阅下文),而分支位和退出位则由预解码器派生。缓冲区底部的指令被解码。如果是分支指令,则其中的两个字段从条件寄存器中选择两位,并在函数发生器中对部分操作码指定的8个逻辑功能中的1个逻辑功能进行评估,以确定是否应采用该分支。该地址是通过将来自指令的字段和指令的另一字段选择的多个寄存器之一的内容相加而获得的地址。但是,仅当下一条退出指令进入缓冲区时,指令提取序列才会分支到该地址。分支指令在存储器中的目标位设置为1。禁止对退出指令和目标指令之间的缓冲区中的每个指令进行解码,并因此禁止执行该指令,并且响应于目标位1。禁止终止于将目标指令移入缓冲区的底部位置时终止。在成功的分支指令之后且在下一个退出指令之前的分支指令也被禁止。如果缓冲区中同时存在退出指令和分支指令,但尚未确定成功的分支,则将暂停取指令,直到并非所有这些条件都退出,从而等待分支测试的结果。如果缓冲区中没有退出指令,并且缓冲区中没有分支指令,或者没有确定成功分支的指示,则从下一个顺序地址获取指令。

著录项

  • 公开/公告号JPS505539B1

    专利类型

  • 公开/公告日1975-03-05

    原文格式PDF

  • 申请/专利权人

    申请/专利号JP19700003323

  • 发明设计人

    申请日1970-01-13

  • 分类号G06F9/12;

  • 国家 JP

  • 入库时间 2022-08-23 04:48:00

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号