Part Number: TDA4VM
Compiler generates invalid instructions. My code looks like (simplified):
}
This causes following errors in generated assembly:
ERROR! at line 763: [E0003] Invalid instruction
|| VSTPBPACKH .D2X P0,VB1:VB0,*D2++(64) ; [A_D2] |132| <0,17> ^
However when I enforce merging instructions by adding:
__vstore_pred_packh_2src( predicateVar , vout_result_pu8, in0, in1);
// complier can't merg packing and incrementation
Then it works correclty. This code was likely compiled previously (*vout_result_pu8++;) with ti-cgt-c7000 version 4, so with just dummy read out from that location.
Currently with ti-cgt-c7000 version 5 it olny compiles with this volatile trick.
What could be the root cause?