3 ms·
Can you explain? Doesn't "-march=native" just set the target CPU architecture to be that of the host you're running on? Isn't that the default behaviour anywa
by mac01021 9y ago
Can you explain?
Doesn't "-march=native" just set the target CPU architecture to be that of the host you're running on? Isn't that the default behaviour anyway?
- tomsmeding 9y agoI believe that by default, gcc is somewhat conservative with its target architecture, ignoring a few of the newest features in favour of better cross-system compatibility. With that flag, and possibly -mtune=native, you get the full power of your CPU back.