You are not logged in.

#1 2011-02-13 19:44:45

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

Intel Atom i686 users - please post the output of...

I read the following on the safe intel cflags wiki page about core2 on 32 bit platforms:

32 bit profile (x86):

CHOST="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -fomit-frame-pointer -pipe"
CXXFLAGS="${CFLAGS}"

Can someone with an atom processor please run the following and post the output?

gcc -c -Q -march=native --help=target

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

Offline

#2 2011-02-13 19:53:00

Meyithi
Member
From: Wirral, UK
Registered: 2009-06-21
Posts: 550
Website

Re: Intel Atom i686 users - please post the output of...

Atom N450 running i686

The following options are target specific:
  -m128bit-long-double                [disabled]
  -m32                                [enabled]
  -m3dnow                             [disabled]
  -m3dnowa                            [disabled]
  -m64                                [disabled]
  -m80387                             [enabled]
  -m96bit-long-double                 [enabled]
  -mabi=                              
  -mabm                               [disabled]
  -maccumulate-outgoing-args          [disabled]
  -maes                               [disabled]
  -malign-double                      [disabled]
  -malign-functions=                  
  -malign-jumps=                      
  -malign-loops=                      
  -malign-stringops                   [enabled]
  -march=                             atom
  -masm=                              
  -mavx                               [disabled]
  -mbranch-cost=                      
  -mcld                               [disabled]
  -mcmodel=                           
  -mcrc32                             [disabled]
  -mcx16                              [enabled]
  -mfancy-math-387                    [enabled]
  -mfma                               [disabled]
  -mfma4                              [disabled]
  -mforce-drap                        [disabled]
  -mfp-ret-in-387                     [enabled]
  -mfpmath=                           
  -mfused-madd                        [enabled]
  -mglibc                             [enabled]
  -mhard-float                        [enabled]
  -mieee-fp                           [enabled]
  -mincoming-stack-boundary=          
  -minline-all-stringops              [disabled]
  -minline-stringops-dynamically     [disabled]
  -mintel-syntax                      [disabled]
  -mlarge-data-threshold=             
  -mlwp                               [disabled]
  -mmmx                               [disabled]
  -mmovbe                             [enabled]
  -mms-bitfields                      [disabled]
  -mno-align-stringops                [disabled]
  -mno-fancy-math-387                 [disabled]
  -mno-push-args                      [disabled]
  -mno-red-zone                       [disabled]
  -mno-sse4                           [enabled]
  -momit-leaf-frame-pointer           [disabled]
  -mpc                                
  -mpclmul                            [disabled]
  -mpopcnt                            [disabled]
  -mpreferred-stack-boundary=         
  -mpush-args                         [enabled]
  -mrecip                             [disabled]
  -mred-zone                          [enabled]
  -mregparm=                          
  -mrtd                               [disabled]
  -msahf                              [enabled]
  -msoft-float                        [disabled]
  -msse                               [disabled]
  -msse2                              [disabled]
  -msse2avx                           [disabled]
  -msse3                              [disabled]
  -msse4                              [disabled]
  -msse4.1                            [disabled]
  -msse4.2                            [disabled]
  -msse4a                             [disabled]
  -msseregparm                        [disabled]
  -mssse3                             [disabled]
  -mstack-arg-probe                   [disabled]
  -mstackrealign                      [enabled]
  -mstringop-strategy=                
  -mtls-dialect=                      
  -mtls-direct-seg-refs               [enabled]
  -mtune=                             atom
  -muclibc                            [disabled]
  -mveclibabi=                        
  -mxop                               [disabled]

The mind roams more freely in empty rooms.
dwm - colours - ncmpcpp - system
irc://irc.freenode.net:meyithi

Offline

#3 2011-02-13 20:15:43

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

Re: Intel Atom i686 users - please post the output of...

Thanks Meyithi - I think this means the gentoo wiki is wrong.


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

Offline

#4 2011-02-13 20:37:20

Meyithi
Member
From: Wirral, UK
Registered: 2009-06-21
Posts: 550
Website

Re: Intel Atom i686 users - please post the output of...

I use march=native in my makepkg.conf, Gentoo wiki confused me as to why you could use native with x64 but not with x86, so I did it anyway!


The mind roams more freely in empty rooms.
dwm - colours - ncmpcpp - system
irc://irc.freenode.net:meyithi

Offline

#5 2011-02-13 20:56:13

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

Re: Intel Atom i686 users - please post the output of...

@M - Yeah, it's a bit confusing... I am doing some cross compiling and will need to manually set them which is why I posted smile


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

Offline

#6 2011-02-14 13:06:02

dieghen89
Member
From: Italy
Registered: 2009-06-24
Posts: 134

Re: Intel Atom i686 users - please post the output of...

Hi graysky, here my output (N550):

diego@eeepc ~>gcc -c -Q -march=native --help=target
The following options are target specific:
  -m128bit-long-double                  [disabled]
  -m32                                  [enabled]
  -m3dnow                               [disabled]
  -m3dnowa                              [disabled]
  -m64                                  [disabled]
  -m80387                               [enabled]
  -m96bit-long-double                   [enabled]
  -mabi=                      
  -mabm                                 [disabled]
  -maccumulate-outgoing-args            [disabled]
  -maes                                 [disabled]
  -malign-double                        [disabled]
  -malign-functions=          
  -malign-jumps=              
  -malign-loops=              
  -malign-stringops                     [enabled]
  -march=                               atom
  -masm=                      
  -mavx                                 [disabled]
  -mbranch-cost=              
  -mcld                                 [disabled]
  -mcmodel=                   
  -mcrc32                               [disabled]
  -mcx16                                [enabled]
  -mfancy-math-387                      [enabled]
  -mfma                                 [disabled]
  -mfma4                                [disabled]
  -mforce-drap                          [disabled]
  -mfp-ret-in-387                       [enabled]
  -mfpmath=                   
  -mfused-madd                          [enabled]
  -mglibc                               [enabled]
  -mhard-float                          [enabled]
  -mieee-fp                             [enabled]
  -mincoming-stack-boundary=  
  -minline-all-stringops                [disabled]
  -minline-stringops-dynamically        [disabled]
  -mintel-syntax                        [disabled]
  -mlarge-data-threshold=     
  -mlwp                                 [disabled]
  -mmmx                                 [disabled]
  -mmovbe                               [enabled]
  -mms-bitfields                        [disabled]
  -mno-align-stringops                  [disabled]
  -mno-fancy-math-387                   [disabled]
  -mno-push-args                        [disabled]
  -mno-red-zone                         [disabled]
  -mno-sse4                             [enabled]
  -momit-leaf-frame-pointer             [disabled]
  -mpc                        
  -mpclmul                              [disabled]
  -mpopcnt                              [disabled]
  -mpreferred-stack-boundary= 
  -mpush-args                           [enabled]
  -mrecip                               [disabled]
  -mred-zone                            [enabled]
  -mregparm=                  
  -mrtd                                 [disabled]
  -msahf                                [enabled]
  -msoft-float                          [disabled]
  -msse                                 [disabled]
  -msse2                                [disabled]
  -msse2avx                             [disabled]
  -msse3                                [disabled]
  -msse4                                [disabled]
  -msse4.1                              [disabled]
  -msse4.2                              [disabled]
  -msse4a                               [disabled]
  -msseregparm                          [disabled]
  -mssse3                               [disabled]
  -mstack-arg-probe                     [disabled]
  -mstackrealign                        [enabled]
  -mstringop-strategy=        
  -mtls-dialect=              
  -mtls-direct-seg-refs                 [enabled]
  -mtune=                               atom
  -muclibc                              [disabled]
  -mveclibabi=                
  -mxop                                 [disabled]

i use this flags:

CFLAGS="-O2 -march=atom -mtune=atom -mssse3 -mfpmath=sse -fomit-frame-pointer -pipe"
CXXFLAGS="$CFLAGS"
MAKEFLAGS="-j4"

Last edited by dieghen89 (2011-02-14 13:13:49)


XPS 13 DE 2015 + K*5
"Machines are so stupid that if you tell them to do something perfect, they'll do it"

Offline

Board footer

Powered by FluxBB