Jump to content
  • 0

GCC Flags, march and mtune


Mikado

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  26
  • Reputation:   2
  • Joined:  11/08/12
  • Last Seen:  

Hi, has anyone here used "-march=native" and "-mtune=native" when compiling eathena? Any performance boost or downside?

 

Thanks for your time.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  25
  • Reputation:   1
  • Joined:  08/05/12
  • Last Seen:  

bump

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  26
  • Reputation:   2
  • Joined:  11/08/12
  • Last Seen:  

Well, once again I answered myself but if it's useful for some other, great.

 

Running basic tests with "-march=native", "-march=corei7", "-march=core2" and "-march=nocona" I've got to say default compiling flags are the best. Using any "-march" dropped the performance for about 20%.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...