Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wiki page about GCC optimization looks outdated
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
alogim
Tux's lil' helper
Tux's lil' helper


Joined: 21 Aug 2015
Posts: 131

PostPosted: Fri Aug 11, 2017 11:31 am    Post subject: Wiki page about GCC optimization looks outdated Reply with quote

I read the wiki page about GCC optimization, and I have noticed that it suggests to install
Code:
 app-portage/cpuid2cpuflags
, Additionally, to automatically fetch the CPU_FLAGS_X86, it suggests to run it executing
Code:
cpuid2cpuflags
; however, that command does not work.

I currently have the latest version of cpuid2cpuflags, as you can see in the following box:
Code:
 
gentoorocks ~ # emerge -s cpuid2cpuflags
 
[ Results for search key : cpuid2cpuflags ]
Searching...

*  app-portage/cpuid2cpuflags
      Latest version available: 1
      Latest version installed: 1
      Size of files: 2 KiB
      Homepage:      https://github.com/mgorny/cpuid2cpuflags
      Description:   Script to guess CPU_FLAGS_X86 flags from /proc/cpuinfo
      License:       BSD-2

[ Applications found : 1 ]


In order to run it, however, it is necessary to type the following:
Code:

gentoorocks ~ # cpuinfo2cpuflags-x86
CPU_FLAGS_X86="aes avx mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"


I think the wiki should be updated.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30904
Location: here

PostPosted: Fri Aug 11, 2017 11:40 am    Post subject: Re: Wiki page about GCC optimization looks outdated Reply with quote

alogim wrote:
I think the wiki should be updated.

You can do it

TIP: next time you can use equery f package for list installed file by package
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Fri Aug 11, 2017 1:02 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Gentoo Chat. Not exactly a support question.
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Fri Aug 11, 2017 1:15 pm    Post subject: Reply with quote

in v1 of the tool the command was cpuinfo2cpuflags-x86
in v2 this was changed to cpuinfo2cpuflags
the tree presently has v4

https://github.com/mgorny/cpuid2cpuflags/commit/13ad955bd2a486f865699bc6dd3fdbf535064c7e#diff-c949f93d03f44a4217d7a138f9e2e54a

i would say the wiki is up to day for the most recent version. however v2,3,4 are not marked as stable, only v1
_________________
Quote:
Removed by Chiitoo
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
Page 1 of 1

 
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