On Thu, May 21, 2009 at 2:30 PM, Alex Schuster <wo...@wonkology.org> wrote:
> Paul Hartman just posted a link to a script that seems to do what I was
> looking for in the "[OT]eee 900a intel atom is what processor family?"
> thread: <http://www.pixelbeat.org/scripts/gcccpuopt>
>
> But it suggests using -march=k8 - isn't that a 64-bit-only thing? I'm not
> compiling for AMD64, I'm still using 32-bit mode. So I have -march=athlon-xp
> in my CFLAGS for my AMD Athlon(tm) Dual Core Processor 4850e CPU.

Hi,

That script says it is specifically for 32-bit only, so I think you
should be good.

According to:
http://gcc.gnu.org/onlinedocs/gcc-4.3.3/gcc/i386-and-x86_002d64-Options.html

It looks like that CPU type supports the amd64 instruction set but I
don't think itt necessarily means you are using it in 64-bit mode. I
think it would just simply not work at all if it's not valid for
32-bit mode.

Reply via email to