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.

Linker errors while using C6000 Intrinsics

 

Hi,

While trying to optimise my work, I was trying to add some intrinsics to my code that runs on C6713 platform. The particular one I tried to use was _cmpeq4 however I got linker errors (i.e. symbol referencing errors) that I was not expecting. According to spru198.pdf, the intrinsics are recognised by the compiler and therefore should not cause any issues. I am not sure if I forgot to include/link to a particular library. I am sure I am missing something here but I just can't see it !

If any fellow members can provide me with some pointers, that would be very helpful.

Thank you in advance for your time and effort.

 

Regards...

  •  

    Hello again :)

    I think I spotted the problem !

    The intrinsics are defined in c6x.h file. When I checked this file, I realised that the _cmpeq4 intrinsic is within the _TMS320C6400 compiler switch and therefore it cannot be used on my platform. I randomly picked an intrinsic witihin the _TMS320C6700 switch (namely, _fabs() ) and my code compiled and linked as expected.

    I hope this note helps a few other members as well.

    Regards...