gcc generic march for all the x64 platforms

前端 未结 1 2021
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-13 12:36

GCC have -march= and -mtune option as described here. But it is not obvious which of the options to choose for x64 platform as generic

相关标签:
1条回答
  • 2021-02-13 13:25

    The generic x86-64 -march is -march=x86-64.

    It is usually the default for GCC targeting x86-64, but that default can be changed at configure time by passing appropriate value to --with-arch.

    0 讨论(0)
提交回复
热议问题