View unanswered posts | View active topics It is currently Wed Aug 21, 2019 5:19 am



Reply to topic  [ 3 posts ] 
 Fit-PC 3-LP GCC CPU march 
Author Message

Joined: Sun Jan 12, 2014 3:31 am
Posts: 2
Post Fit-PC 3-LP GCC CPU march
Which CPU march option is recommended for AMD G-T40E processor for GCC 4.7.x and GCC 4.8.x?
I heard something about -march=btver1 and -march=btver2. Does anybody know which one is correct?


Sun Jan 12, 2014 10:27 pm
Profile

Joined: Tue Jan 14, 2014 2:57 am
Posts: 1
Post Re: Fit-PC 3-LP GCC CPU march
Hello,
I've got no knowledge about specific settings,
but I'd suggest
Code:
-march=native

and you can also check what does it mean to compiler by
Code:
gcc -march=native -E -v - </dev/null 2>&1 | grep cc1


More info in here http://wiki.gentoo.org/wiki/CFLAGS
Cheers!


Tue Jan 14, 2014 3:04 am
Profile

Joined: Sun Jan 12, 2014 3:31 am
Posts: 2
Post Re: Fit-PC 3-LP GCC CPU march
I have already recompiled world with "btver1" on GCC 4.8.2 , works good.
Code:
$ gcc -march=native -E -v - </dev/null 2>&1 | grep cc1

 /usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.2/cc1 -E -quiet -v - -march=btver1 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mpopcnt -mabm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -mno-sse4.1 -mlzcnt -mno-rtm -mno-hle -mno-rdrnd -mno-f16c -mno-fsgsbase -mno-rdseed -mprfchw -mno-adx -mfxsr -mno-xsave -mno-xsaveopt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=btver1


Sun Jan 19, 2014 1:10 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.