This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320C6655 c66x 编译反馈:Register pressure too high: 38

Other Parts Discussed in Thread: TMS320C6655

TMS320C6655 c66x 编译反馈:

;* Searching for software pipeline schedule at ...
;* ii = 32 Register pressure too high: 38
;* ii = 32 Register pressure too high: 40
;* ii = 32 Schedule found with 2 iterations in parallel

请问针对Register pressure too high有没有好的修改建议,谢谢。

下面是详细反馈

;* A-side B-side
;* .L units 0 0
;* .S units 1 0
;* .D units 6 6
;* .M units 32* 32*
;* .X cross paths 16 16
;* .T address paths 6 6
;* Logical ops (.LS) 0 0 (.L or .S unit)
;* Addition ops (.LSD) 32 33 (.L or .S or .D unit)
;* Bound(.L .S .LS) 1 0
;* Bound(.L .S .D .LS .LSD) 13 13
;*
;* Searching for software pipeline schedule at ...
;* ii = 32 Register pressure too high: 38
;* ii = 32 Register pressure too high: 40
;* ii = 32 Schedule found with 2 iterations in parallel

  • 请参考下面的方法。

    The two techniques that I know  to reduce registers pressure are

    1. Do not use SIMND instructions
    2. Do not store constants in registers, rather read them again from the L1 memory (the cache)

    https://e2e.ti.com/support/development_tools/compiler/f/343/t/207156