0

In the 2.6.35 kernel I have a choice of:

  1. Operon/Athlon64/Hammer/K8
  2. Generic-x86-64

The first option seems best but I'd like confirmation. I have no idea whether there is a specific -mcpu / -march flag for this processor. Are there any other tricks to optimise software for this processor.

I run Gentoo if that makes any difference.

UPDATE: I have found answer 2 from AMD themselves: http://www.amddevcentral.com/CPU/GNU/Pages/default.aspx

1
  • can you use -march=native here?
    – rogerdpack
    Sep 27, 2013 at 22:47

1 Answer 1

0

I use CFLAGS="-march=amdfam10 -O2 -pipe" (amd64,gentoo-source 2.6.34-r6,gcc 4.4.3-r2). Everything is stable and safe.

2
  • Ever tried -03 ? It's listed in the AMD GCC Quick Reference as "Aggresive Optimisation" so I'm kinda tempted.
    – SpliFF
    Sep 29, 2010 at 10:50
  • No(simple about -O3 and optimize gcc linuxjournal.com/article/7269). I try clang, but i have many problem.
    – bindbn
    Sep 29, 2010 at 12:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .