march option for atom on gcc 4.1

Ian Lance Taylor iant@google.com
Wed Aug 11 21:38:00 GMT 2010


On Thu, Aug 5, 2010 at 8:48 AM, bokkuri matsu <matsubokkuri33@gmail.com> wrote:

> I am using gcc4.1 on intel atom D510 processor.
> Which architecture type should be specified with march option ?
> With some reasons, i cannot update gcc version to 4.2 which supports
> march=native.

Support for -march=atom was not added until gcc 4.5.

I don't know that any -march option is better than any other for use
with Atom in gcc 4.1.  Scheduling for the Atom is somewhat different
than for other x86 chips.  I would just go with -march=i686.

Ian



More information about the Gcc-help mailing list