Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

Compiler/TDA2: EVE/VCOP Question about __agen

$
0
0

Part Number:TDA2

Tool/software: TI C/C++ Compiler

Hi, 

I try release next equation for agen

__agen kLeft = I1 * blockW * sizeof(*img) + I2 * VCOP_SIMD_WIDTH * sizeof(*img) - I3 * sizeof(*img);

There is no problems in host emulation. But eve compiler doesn't understand "-" near I3. In programming guide it is writen example with negative adress. I rewrite next way

.__agen kLeft = I3 * -sizeof(*img) + I1 * blockW * sizeof(*img) + I2 * VCOP_SIMD_WIDTH * sizeof(*img);

There is no compiler errors. but still result is wrong. Could your help me, whis syntax is right in this case?


Viewing all articles
Browse latest Browse all 17527

Trending Articles