View previous topic :: View next topic |
Author |
Message |
tuggbuss Apprentice
Joined: 20 Mar 2017 Posts: 222
|
Posted: Mon Mar 05, 2018 4:20 pm Post subject: Safe CFLAGS - Xeon W-* |
|
|
I'm getting a brand new Lenovo Workstation (ThinkCentre p520) in about a week, it have a Intel Xeon W-2133 (Hexa core @ 3.6 GHz), and i am a bit curious about safe CFLAGS that i'm going to use, is it same as for Broadwell? I didn't see anything specific more then that.
Code: | /etc/portage/make.conf
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=broadwell -O2 -pipe"
CXXFLAGS="${CFLAGS}" |
|
|
Back to top |
|
|
tuggbuss Apprentice
Joined: 20 Mar 2017 Posts: 222
|
Posted: Wed Mar 07, 2018 4:24 pm Post subject: Re: Safe CFLAGS - Xeon W-* |
|
|
tuggbuss wrote: | I'm getting a brand new Lenovo Workstation (ThinkCentre p520) in about a week, it have a Intel Xeon W-2133 (Hexa core @ 3.6 GHz), and i am a bit curious about safe CFLAGS that i'm going to use, is it same as for Broadwell? I didn't see anything specific more then that.
Code: | /etc/portage/make.conf
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=broadwell -O2 -pipe"
CXXFLAGS="${CFLAGS}" |
|
Will "broadwell" work? Does this apply to Intel Core i9 as well? |
|
Back to top |
|
|
gentoo_ram Guru
Joined: 25 Oct 2007 Posts: 474 Location: San Diego, California USA
|
Posted: Wed Mar 07, 2018 9:27 pm Post subject: |
|
|
I just use "-march=native" and let the compiler figure it out. |
|
Back to top |
|
|
tuggbuss Apprentice
Joined: 20 Mar 2017 Posts: 222
|
Posted: Thu Mar 08, 2018 6:10 am Post subject: |
|
|
gentoo_ram wrote: | I just use "-march=native" and let the compiler figure it out. |
Yes, i can do that, i read somewhere that distcc could break with =native. Not that i intend to use distcc anyhow, so i'll go with the "native" option |
|
Back to top |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Thu Mar 08, 2018 6:27 am Post subject: |
|
|
You can poke around google a bit to see what -march=native will actually do with the cpu in question to make it distcc safe and still fully optimized. _________________ First things first, but not necessarily in that order.
Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box. |
|
Back to top |
|
|
|