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.

Compiler/TDA3MA: Is there a select statement for C66

Part Number: TDA3MA

Tool/software: TI C/C++ Compiler

Our project was written in C language and optimized with intrinsic instructions for the inner loop. We needed to use the select statement for optimization, but the select statement was not found in the C66 intrinsic instruction set.

We have two input vectors A and B,  an output vector C  and a selection vector D. we want 

i =0

while i <= vector.length

if D[i] == 0

C[i] = A[i]

         else

C[i] = B[i]

Does C66 have a select statement for this? C = select(A, B, D)