首页> 外国专利> Method and apparatus for elimination of prolog and epilog instructions in a vector processor using data validity tags and sink counters

Method and apparatus for elimination of prolog and epilog instructions in a vector processor using data validity tags and sink counters

机译:使用数据有效性标签和接收器计数器在向量处理器中消除序言和结语指令的方法和装置

摘要

A method and apparatus for the elimination of prolog and epilog instructions in a vector processor. To eliminate the prolog, a functional unit of the vector processor has at least one input for receiving an input data value tagged with a data validity tag and an output for outputting an intermediate result tagged with a data validity tag. The data validity tags indicate the validity of the data. Before a loop is executed, the data validity tags are set to indicate that the associated data values are invalid. During execution of the loop body a functional unit checks the validity of input data. If all of the input data values are valid the functional operation is performed, the corresponding data validity tag set to indicate that the result is valid. If any of the input data values is invalid, the data validity tag of the result is set to indicate that the result is invalid. To eliminate the epilog, an iteration counter is associated with each sink unit of the vector processor. When a specified number of data values have been produced by a particular sink, no more data values are produced by that sink. The instructions for the pipelined loop body may be repeated, without alteration, to eliminate prolog and epilog instructions.
机译:一种用于消除向量处理器中的序言和尾声指令的方法和设备。为了消除该序言,矢量处理器的功能单元具有至少一个输入,该至少一个输入用于接收带有数据有效性标签的输入数据值,以及用于输出带有数据有效性标签的中间结果的输出。数据有效性标签指示数据的有效性。在执行循环之前,将设置数据有效性标签以指示关联的数据值无效。在循环体执行期间,功能单元检查输入数据的有效性。如果所有输入数据值均有效,则执行功能操作,然后设置相应的数据有效性标签以指示结果有效。如果任何输入数据值无效,那么将结果的数据有效性标签设置为指示结果无效。为了消除结尾,将迭代计数器与矢量处理器的每个接收器单元相关联。当特定接收器产生了指定数量的数据值时,该接收器不再产生任何数据值。可以重复流水线循环主体的指令,而无需更改,以消除序言和结语指令。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号