Yes, this is portuguese. Ok ok, I'll translate that :P Here it goes:
"It seems that the following code is illegal in GCC, why?
movb 2(%1, %%ecx), (%0, %%ecx);
I have an asm code defined as volatile which executes a loop:
__asm__ __volatile__ ( "xorl %%ecx, %%ecx;" "bgrLoop:;" "movb (%1, %%ecx), %%al;" "movb 2(%1, %%ecx), %%ah;" "movb %%al, 2(%0, %%ecx);" "movb %%ah, (%0, %%ecx);" "addl $3, %%ecx;" "decl %2;" "jnz bgrLoop;" : "=r" (buffer) : "r" (buffer), "r" (size) : "ah", "al", "ecx");
Why when I compile that using -O3 the compiler returns me an error saying that bgrLoop was already defined?"
Thats it ._.