[Xorg-driver-geode] proposal: always build with -march=geode

Martin-Éric Racine q-funk at iki.fi
Fri Jul 2 04:23:31 PDT 2010


On Wed, Jun 30, 2010 at 6:45 PM, Writer, Tim <Tim.Writer at amd.com> wrote:
> This (building with `-march=geode') seems reasonable to me.

http://cgit.freedesktop.org/gstreamer/common/tree/m4/as-compiler-flag.m4

This seems to be a good example of how to check for the validity of
"geode" as an -march and -mtune option. I'm just wondering what would
be our correct response in case "geode" is not available? Would
perhaps "-march=pentium-mmx -m3dnow" be suitable and usable on older
GCC versions or should me simply not attempt to set any optimization
if "geode" is not a supported option?

> Regarding i686 optimizations that are incompatible with the Geode
> instruction set, I'm working on this issue with AMD's GCC team.

Glad to hear it.  Please keep us posted.

> I also support the cross-compiling initiative, if only to allow
> developers to take advantage of more capable and performant development
> machines that many developers have.

http://wiki.debian.org/DebianAMD64Faq

This seems to suggest that some tools exist to make an x86_64 switch
personality to 32-bit, but I'm not sure whether this information is
too Debian-specific or not.  Comments?

Martin-Éric


More information about the Xorg-driver-geode mailing list