You are not logged in.

#1 2016-08-29 18:54:44

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

Skylake users - identify gcc options of your chips please [SOLVED]

I am trying to understand the scope of recent changes in gcc.  If you have gcc installed on your Skylake-based Arch box (and it's up-to-date), please post a few things for me:

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

Thank you!

Last edited by graysky (2016-08-30 20:11:28)


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

Offline

#2 2016-08-29 21:02:51

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Skylake users - identify gcc options of your chips please [SOLVED]

Here it goes:

> uname -a
Linux arch64 4.7.2-1-ARCH #1 SMP PREEMPT Sat Aug 20 23:02:56 CEST 2016 x86_64 GNU/Linux

> grep -m 1 -i 'model name' /proc/cpuinfo
model name	: Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz

> gcc -c -Q -march=native --help=target | grep -i 'march=\|mtune='
  -march=                     		skylake
  -mtune=                     		skylake

R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#3 2016-08-29 23:00:30

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

Re: Skylake users - identify gcc options of your chips please [SOLVED]

Thanks, R.


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

Offline

#4 2016-08-30 02:25:17

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: Skylake users - identify gcc options of your chips please [SOLVED]

~ master* 14s
❯ grep -m 1 -i 'model name' /proc/cpuinfo                                                  
model name	: Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz

~ master*
❯ gcc -c -Q -march=native --help=target | grep -i 'march=\|mtune='                         
  -march=                     		skylake
  -mtune=                     		skylake

Offline

#5 2016-08-30 20:11:08

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

Re: Skylake users - identify gcc options of your chips please [SOLVED]

Thanks all.  I got what I needed.


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

Offline

Board footer

Powered by FluxBB