Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Leaving Gentoo for Arch
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
mike155
l33t
l33t


Joined: 17 Sep 2010
Posts: 986
Location: Frankfurt, Germany

PostPosted: Mon Dec 17, 2018 2:38 pm    Post subject: Reply with quote

5ace wrote:
Compile @world with -march=generic

You shouldn't that, because '-march=generic' is invalid. The GCC man page says:
Quote:
There is no -march=generic option because -march indicates the instruction set the compiler can use, and there is no generic instruction set applicable to all processors
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 42559
Location: 56N 3W

PostPosted: Mon Dec 17, 2018 2:40 pm    Post subject: Reply with quote

C5ace,

That will be -march unset and -mtune=generic.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mike155
l33t
l33t


Joined: 17 Sep 2010
Posts: 986
Location: Frankfurt, Germany

PostPosted: Mon Dec 17, 2018 2:53 pm    Post subject: Reply with quote

erm67 wrote:
-march local on x86 CPU is usually more powerful

Sorry, but GCC does not support '-march local'. Did you mean "-march=native"?
Back to top
View user's profile Send private message
erm67
Guru
Guru


Joined: 01 Nov 2005
Posts: 329
Location: EU

PostPosted: Mon Dec 17, 2018 2:53 pm    Post subject: Reply with quote

mike155 wrote:
erm67 wrote:
-march local on x86 CPU is usually more powerful

Sorry, but GCC does not support '-march local'. Did you mean "-march=native"?

of course, sorry
_________________
True ignorance is not the absence of knowledge, but the refusal to acquire it.
Ab esse ad posse valet, a posse ad esse non valet consequentia

My fediverse account: @erm67@erm67.dynu.net
Back to top
View user's profile Send private message
Cuong Nguyen
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jan 2018
Posts: 126

PostPosted: Mon Dec 17, 2018 3:39 pm    Post subject: Reply with quote

erm67 wrote:
-march local on x86 CPU is usually more powerful that -march=<cpu name> because it also tunes for the cache size of the current CPU


Indeed, there are 3 params of CPU cache settings, vary upon CPU sub-specs for Server or Laptop
For example:
For server:
--param l2-cache-size=12288 -mtune=westmere

For laptop:
--param l2-cache-size=3072 -mtune=ivybridge

L2-cache for laptop is 1/4 as for server.
Back to top
View user's profile Send private message
erm67
Guru
Guru


Joined: 01 Nov 2005
Posts: 329
Location: EU

PostPosted: Mon Dec 17, 2018 5:47 pm    Post subject: Reply with quote

There are also other flags beside ther CPU model ones like the ones set by gentooLTO:
https://github.com/InBetweenNames/gentooLTO
_________________
True ignorance is not the absence of knowledge, but the refusal to acquire it.
Ab esse ad posse valet, a posse ad esse non valet consequentia

My fediverse account: @erm67@erm67.dynu.net
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page Previous  1, 2, 3, 4
Page 4 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum