This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Best -march & -mtune flags for XScale-PXA270 rev 7 (v5l)
- From: Oleg Kravchenko <oleg at kaa dot org dot ua>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 28 Jan 2010 18:38:42 +0200
- Subject: Best -march & -mtune flags for XScale-PXA270 rev 7 (v5l)
Hello!
I am play with my Asus P535 phone and can't find best cflags
>asusp535 ~ # cat /proc/cpuinfo
>Processor : XScale-PXA270 rev 7 (v5l)
>BogoMIPS : 519.37
>Features : swp half thumb fastmult edsp iwmmxt
>CPU implementer : 0x69
>CPU architecture: 5TE
>CPU variant : 0x0
>CPU part : 0x411
>CPU revision : 7
>Cache type : undefined 5
>Cache clean : undefined 5
>Cache lockdown : undefined 5
>Cache format : Harvard
>I size : 32768
>I assoc : 32
>I line length : 32
>I sets : 32
>D size : 32768
>D assoc : 32
>D line length : 32
>D sets : 32
>
>Hardware : Asus P535
>Revision : 0000
>Serial : 0000000000000000
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'
What cflags and chost is a best for my phone?
Thanks