;*----------------------------------------------------------------------------*
;* SOFTWARE PIPELINE INFORMATION
;*
;* Loop source line : 30
;* Loop opening brace source line : 31
;* Loop closing brace source line : 145
;* Known Minimum Trip Count : 1
;* Known Max Trip Count Factor : 1
;* Loop Carried Dependency Bound(^) : 39
;* Unpartitioned Resource Bound : 33
;* Partitioned Resource Bound(*) : 36
;* Resource Partition:
;* A-side B-side
;* .L units 12 12
;* .S units 21 22
;* .D units 13 5
;* .M units 20 20
;* .X cross paths 14 36*
;* .T address paths 9 9
;* Long read paths 0 0
;* Long write paths 0 0
;* Logical ops (.LS) 3 6 (.L or .S unit)
;* Addition ops (.LSD) 53 51 (.L or .S or .D unit)
;* Bound(.L .S .LS) 18 20
;* Bound(.L .S .D .LS .LSD) 34 32
;*
;* Searching for software pipeline schedule at ...
;* ii = 39 Did not find schedule
;* ii = 40 Did not find schedule
;* ii = 41 Did not find schedule
;* ii = 42 Did not find schedule
;* ii = 43 Did not find schedule
;* ii = 45 Did not find schedule
;* ii = 47 Did not find schedule
;* ii = 50 Did not find schedule
;* ii = 53 Schedule found with 1 iterations in parallel
;*
;* Register Usage Table:
;* +-----------------------------------------------------------------+
;* |AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA|BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB|
;* |00000000001111111111222222222233|00000000001111111111222222222233|
;* |01234567890123456789012345678901|01234567890123456789012345678901|
;* |--------------------------------+--------------------------------|
;* 0: | ***** ************ | * ** ********* |
;* 1: | ***** ************ | * ** ********* |
;* 2: | ***** ************ | * ** ********* |
;* 3: | ***** ************ | * ** ********* |
;* 4: | ***** ************ | * ** ********* |
;* 5: | * ***** ************ | * *** ********* |
;* 6: | * ***** ************ | * **** ********* |
;* 7: | ******* ************ | * **** * ********* |
;* 8: | ******* ************ *| * ****** ********* |
;* 9: | ** ***** ************ *| * *** ** ********* * |
;* 10: | ******** ************ *| * ****** ********* * |
;* 11: | ******** * ************ *| * *** ** *********** |
;* 12: | ******** ****************| * *** ** ************ |
;* 13: |**** ****** * **************| * ****** *********** * |
;* 14: |** ******** * **************| * ** *** ************ * |
;* 15: |** ******** ****************| * ****** ************ * |
;* 16: |** ******** ****************| * ****** ************** |
;* 17: |**** ****** *************** | * ****** ********** *** |
;* 18: |* ******** ************** | * **** * ********** *** |
;* 19: |* ******** * ************* | * **** * ************* |
;* 20: |********** * **************| * ****** ************ |
;* 21: |*********** ****************| * ****** ************* |
;* 22: |*********** ***************| * ****** ************* |
;* 23: | * ******* ****************| * ****** ************** |
;* 24: | ********* ****************| * ****** ************* |
;* 25: | ********** ****************| * ****** ********** ** |
;* 26: |*********** ****************| * ***** ********** ** |
;* 27: |* ********** ****************| * *** ** ************** |
;* 28: |************** ****************| * **** * ************** |
;* 29: |* ************ ****************|* * ****** *************** |
;* 30: |* ************ ****************|* * ****** ************ * |
;* 31: |************** ****************| * **** * ********** * * |
;* 32: |************** ***************| * ****** ********** * * |
;* 33: |* ** ******* * ***************| * ****** *********** * * |
;* 34: | ********** * ****************| * ****** ********** * |
;* 35: |************ * ****************| * *** ** *********** |
;* 36: |* ******** * * *************** | ** ****** ************ |
;* 37: |* ******* * * ****************|*** ****** ************ |
;* 38: | ******* * ****************| ** ****** *********** |
;* 39: | * ******* * ****************| * ****** ************ |
;* 40: | * ******* ***************|* * ****** *********** |
;* 41: | ** ****** ***************|* * ****** ********** |
;* 42: | ********* *************** |* * ****** ************ |
;* 43: |********** *************** |* * **** * ********** |
;* 44: | ********* *************** |*** **** * *********** |
;* 45: | ********* * ************* | ** ****** *********** |
;* 46: | ******** * ************ | * ****** ************ |
;* 47: | ***** ************ | * ****** ********** |
;* 48: | * ***** ************ | * ***** ********* |
;* 49: | * ***** ************* | * *** ********* |
;* 50: | ******* ************** | * **** ********* |
;* 51: | ******* ************ | * **** ********* |
;* 52: | ******* ************ | * ** ********* |
;* +-----------------------------------------------------------------+
;*
;* Done
;*
;* Collapsed epilog stages : 0
;* Collapsed prolog stages : 0
;*
;* Minimum safe trip count : 1
;*
;*
;* Mem bank conflicts/iter(est.) : { min 0.000, est 0.375, max 3.000 }
;* Mem bank perf. penalty (est.) : 0.7%
;*
;* Effective ii : { min 53.00, est 53.38, max 56.00 }
;*
;*
;* Total cycles (est.) : 0 + trip_cnt * 53
;*----------------------------------------------------------------------------*
问题1:
ii = 53 Schedule found with 1 iterations in parallel
据我所知,ii=53是启动间隔,但是1 iterations这个就不知道什么意思了?而且这两个参数
与循环的次数之间的关系是什么?
问题2:
Total cycles (est.) : 0 + trip_cnt * 53
这里的cycle 是实际耗时么?就是用CLK_getltime测试出来的时间么?另外,trip_cnt是循环
次数?
问题3:
从上面反馈给出的信息看,代码还有哪些优化空间?
谢谢!