Reply by Vladimir Vassilevsky●August 4, 20112011-08-04
John McDermick wrote:
> The GNU gcc blackfin compiler has a feature where labels in inline
> assembly functions are automatically numbered (to avoid illegal
> redefinitions of labels)...
Inline assembly sucks.
> The syntax is [labelname]%=
>
> For example "LOOP mylabel%= LC0 = P0;\n\t"
>
> The VDSP compiler doesn't understand this syntax....
Of course. Nobody can understand this.
> but I am wondering
> if the feature is available and in that case...what is the syntax??
while(cntr--) do_something();
Vladimir Vassilevsky
DSP and Mixed Signal Design Consultant
http://www.abvolt.com
Reply by John McDermick●August 4, 20112011-08-04
The GNU gcc blackfin compiler has a feature where labels in inline assembly
functions are automatically numbered (to avoid illegal redefinitions of
labels)...
The syntax is [labelname]%=
For example "LOOP mylabel%= LC0 = P0;\n\t"
The VDSP compiler doesn't understand this syntax....but I am wondering if
the feature is available and in that case...what is the syntax??