You are not logged in.

#1 2014-06-07 19:57:49

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Atom users - identify gcc options of your chips please

I am trying to understand the scope of recent changes in gcc.  If you have gcc installed on your Atom-based Arch box, please post a few things for me:

grep -m 1 -i atom /proc/cpuinfo
gcc -c -Q -march=native --help=target | grep -i 'march=\|mtune='

On my ancient Atom 330:

% grep -m 1 -i atom /proc/cpuinfo
model name	: Intel(R) Atom(TM) CPU  330   @ 1.60GHz

% gcc -c -Q -march=native --help=target | grep -i 'march=\|mtune='
  -march=                     		bonnell
  -mtune=                     		bonnell

Thank you!

Last edited by graysky (2014-06-07 19:58:00)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2014-06-07 20:05:13

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: Atom users - identify gcc options of your chips please

$ grep -m 1 -i atom /proc/cpuinfo
model name      : Intel(R) Atom(TM) CPU D410   @ 1.66GHz

$ gcc -c -Q -march=native --help=target | grep -i 'march=\|mtune='
  -march=                               bonnell
  -mtune=                               bonnell

Last edited by 2ManyDogs (2014-06-07 20:05:29)

Offline

#3 2014-06-07 20:14:04

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: Atom users - identify gcc options of your chips please

Thank you 2md.  This is interesting because the mainline kernel code is calling the deprecated -march=atom optons... I believe gcc will just ignore and default to generic.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2014-06-07 21:10:28

aesiris
Member
Registered: 2012-02-25
Posts: 97

Re: Atom users - identify gcc options of your chips please

same here with

$ grep -m 1 -i atom /proc/cpuinfo
model name      : Intel(R) Atom(TM) CPU N450   @ 1.66GHz
$ gcc -c -Q -march=native --help=target | grep -i 'march=\|mtune='
  -march=                               bonnell
  -mtune=                               bonnell

Offline

#5 2014-06-08 01:10:02

Name Taken
Banned
Registered: 2014-04-09
Posts: 113

Re: Atom users - identify gcc options of your chips please

..[root@arch] - [~] - [Sat Jun 07, 06:08]
..[$] <()> grep -m 1 -i atom /proc/cpuinfo
model name	: Intel(R) Atom(TM) CPU N450   @ 1.66GHz
..[root@arch] - [~] - [Sat Jun 07, 06:08]
..[$] <()> gcc -c -Q -march=native --help=target | grep -i 'march=\|mtune='
  -march=                     		bonnell
  -mtune=                     		bonnell

Offline

#6 2014-06-08 21:50:16

johane
Member
From: Dalarna - Sweden
Registered: 2010-02-05
Posts: 42
Website

Re: Atom users - identify gcc options of your chips please

$ grep -m 1 -i atom /proc/cpuinfo
model name      : Intel(R) Atom(TM) CPU D525   @ 1.80GHz

$ gcc -c -Q -march=native --help=target | grep -i 'march=\|mtune='
  -march=                               bonnell
  -mtune=                               bonnell

Last edited by johane (2014-06-08 21:51:03)

Offline

Board footer

Powered by FluxBB