首页>
外国专利>
DEVICE, METHOD AND PROGRAM FOR LOOP UNROLLING PROCESSING
DEVICE, METHOD AND PROGRAM FOR LOOP UNROLLING PROCESSING
展开▼
机译:循环展开处理的设备,方法和程序
展开▼
页面导航
摘要
著录项
相似文献
摘要
According to the present invention, when N is the loop count of an original loop processing, L is the lower limit of a designated unroll stage number, M is the upper limit of the designated unroll stage number, Q is the quotient of division of N by L, and R is the remainder of the division of N by L, a generation unit 4 generates an equation including: an equation expressing that, when R-Q*(M-L)>0, one loop processing is performed R-Q*(M-L) times in the original loop processing, and then the loop processing is performed by taking M as the unroll stage number; and an equation expressing that, when R-Q*(M-L)>0 does not hold true, the loop processing is performed as many as the number of times of the quotient of division of R by (M-L) by taking M as the unroll stage number, and one loop processing is performed by taking, as the unroll stage number, the sum of L and the remainder when the remainder of the division of R by (M-L) is not 0, and then, the loop processing is performed by taking L as the unroll stage.
展开▼