发明申请
US20060095751A1 Method and system for providing zero overhead looping using carry chain masking
失效
使用携带链掩蔽提供零开销循环的方法和系统
- 专利标题: Method and system for providing zero overhead looping using carry chain masking
- 专利标题(中): 使用携带链掩蔽提供零开销循环的方法和系统
-
申请号: US10946465申请日: 2004-09-20
-
公开(公告)号: US20060095751A1公开(公告)日: 2006-05-04
- 发明人: Anthony Bybell , Richard Doing , David Dukro
- 申请人: Anthony Bybell , Richard Doing , David Dukro
- 主分类号: G06F9/44
- IPC分类号: G06F9/44
摘要:
A method and system for reducing overhead on a loop of a plurality of instructions is disclosed. The loop is performed a particular number of times. The method and system include a mask register and addition logic. The mask register provides a carry mask having a first value for the loop being performed at least the particular number of times minus one time and a second value for at least a last instruction of the loop being performed a last time. The addition logic is coupled with the mask register and determines which of the plurality of instructions is to be executed. The carry mask and a current instruction of the plurality of instructions correspond to inputs of the addition logic. A resultant of the addition logic corresponds to a next instruction of the plurality of instructions unless the current instruction is the last instruction. The resultant of the addition logic corresponds to the first instruction if the current instruction is the last instruction and the loop is being performed less than the particular number of times.
公开/授权文献
信息查询