Re: Best -march & -mtune flags for XScale-PXA270 rev 7 (v5l)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Oleg Kravchenko <oleg@xxxxxxxxxx> writes:

> I have error when i try compile this source
>>asusp535 ~ # cat test2.c
>>int main(void) { __asm__ volatile ("wunpckelub wr6, wr4"); return 0; }
>>
>>asusp535 ~ # gcc -march=armv5te -mtune=iwmmxt test2.c -o /dev/null
>>/tmp/cc3tFpwv.s: Assembler messages:
>>/tmp/cc3tFpwv.s:24: Error: selected processor does not support `wunpckelub 
>>wr6,wr4'

This is really a question for the assembler, not for gcc.  The
assembler is not part of gcc.  It is part of the GNU binutils.  See
http://sourceware.org/binutils/ .

The wunpckelub instruction only exists on processors which support the
iwmmxt instructions.  You can indicate that your processor supports
those extensions by doing something like -Wa,-march=armv5te+iwmmxt.
See the assembler manual.  Needless to say, this will only work if
your processor does in fact support iwmmxt.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux