This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
optimizations with -mcpu=cortex-a8, -mtune=cortex-a8
- From: "Dasgupta, Romit" <romit at ti dot com>
- To: "gcc at gnu dot org" <gcc at gnu dot org>
- Date: Thu, 21 Aug 2008 12:26:58 +0530
- Subject: optimizations with -mcpu=cortex-a8, -mtune=cortex-a8
- Accept-language: en-US
- Acceptlanguage: en-US
Hi,
I came across the -mpcu=cortex-a8 option in the codesourcery gcc. When I added that to build the Linux kernel, I found that there are no differences in the kernel code with and without the options. The following are the gcc options that where used to build the kernel. Am I missing something?
-nostdinc -isystem /data/arm-2007q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.1/include -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -fno-stack-protector -marm -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mabi=aapcs-linux -mno-thumb-interwork -march=armv7a -mcpu=cortex-a8 -mtune=cortex-a8 -msoft-float -Uarm -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -Wno-pointer-sign
Thanks,
-Romit