This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: optimizations with -mcpu=cortex-a8, -mtune=cortex-a8
- From: Ian Lance Taylor <iant at google dot com>
- To: "Dasgupta\, Romit" <romit at ti dot com>
- Cc: "gcc\ at gnu dot org" <gcc at gnu dot org>
- Date: Thu, 21 Aug 2008 07:45:09 -0700
- Subject: Re: optimizations with -mcpu=cortex-a8, -mtune=cortex-a8
- References: <B85A65D85D7EB246BE421B3FB0FBB593019FE3B64F@dbde02.ent.ti.com>
"Dasgupta, Romit" <romit@ti.com> writes:
> 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?
gcc@gcc.gnu.org is the wrong mailing list for this sort of question.
It should be asked on gcc-help@gcc.gnu.org. Please take any followups
there. Thanks.
In this case it's fairly likely that the default CPU for your compiler
is something similar to cortex-a8. The differences between CPUs are
often fairly subtle, and may not cause a change in the generated code
for most, or sometimes any, programs.
Ian