Other Parts Discussed in Thread: CONTROLSUITE
I'm working with the CLA on a piccolo 28069. The calculations involve calling CLAsin and CLAcos. When compiling with any optimization level other than off, the sin's and cos's are not calculated correctly. Stepping through the assembly appeared to reveal that the compiler was trying to store a variable in MR3, and was not aware that CLAsin and cos were using MR3 and not restoring it. I am using compiler version 6.1.0. It would be nice if this optimization bug could be fixed, however, is there a way for me to enable optimization globally for the non-CLA portion of the program and turn it off for just the CLA code?