Hi,
The compiler guide describes this option as
--c2xlp_src_compatible : Accepts C2xLP assembly instructions and encodes them as equivalent C28x instructions.
What exactly does that mean?
I have mixed in some c2xlp code in my c28 assembly using the following wrapper (an example)
.lp_amode SETC AMODE ; C2xLP addressing mode to allow *+XAR6[AR1%++]` MOVL *+XAR6[AR1%++], XAR2 ; Store x(0), advance AR1 to point to x(N-1) MOVZ AR3, AR1 ; RPT AR0 ; Repeat order + 1 times || MACF32 R7H, R3H, *+XAR6[AR1%++], *XAR7++ ; R3H = R3H + R2H | R2H = x(N-k-1) * h(k) odd cycles ; R7H = R7H + R6H | R6H = x(N-k-1) * h(k) even cycles .c28_amode CLRC AMODE ; Back to C28x addressing mode
Now this code works fine without using the --c2xlp_src_compatible option, what would this option do to c2xlp code such as what i have shown above?