About 51 results
Open links in new tab
  1. Why is -march=native not enabled by default by compilers/IDEs?

    Oct 5, 2018 · For -O0, whether -march=native or -march=<generic> is the default still specifies the same family, so both are perfectly compatibly with -O0; and whenever another optimization level is …

  2. c++ - What exactly does -march=native do? - Stack Overflow

    Jun 10, 2010 · Gentoo Wiki told me the following: Warning: GCC 4.2 and above support -march=native. -march=native applies additional settings beyond -march, specific to your CPU. Unless you have a …

  3. gcc - How is -march different from -mtune? - Stack Overflow

    Oct 12, 2024 · -march=foo implies -mtune=foo unless you also specify a different -mtune. This is one reason why using -march is better than just enabling options like -mavx without doing anything about …

  4. gcc: Differences between -march=native and -march=<specific arch>

    As I understand it, -march=native will detect the ISA and extensions to use from cpuid (which include model, family and stepping information). -march=xxx will use a baseline set of extensions and a …

  5. c++ - equivalent of -march=native for msvc - Stack Overflow

    As far as I know, the compilation option for MSVC that tells the compiler to use special available instruction is /arch. On clang/linux, we can use -march=native to automatically detect the archite...

  6. How to know all supported values for clang -march argument?

    Mar 11, 2025 · Using Clang 16.0 or later, I would like to know what values could be used for the -march argument. The command clang --print-supported-cpus shows for -mcpu=, but I see no alternative for …

  7. how to change '-march=native' compile flag added by PCL in cmake

    Nov 24, 2023 · "I want change it to -march=x86-64 in cmake, How to do it? - Find out how exactly PCL adds -march=native flag. If it does that via variable CMAKE_CXX_FLAGS, then you may try to …

  8. date - Problems with Excel handling of the month of March in German ...

    Mar 21, 2024 · For work I have to use an Excel version in German. Excel handles the month of March (März) in a strange/wrong way. The standard German abbreviation in the month's list is MRZ (if I fill a …

  9. -march=haswell vs -march=core-avx2 vs -mavx2 - Stack Overflow

    Jul 27, 2022 · What are the differences and tradeoffs between -march=haswell, -march=core-avx2, and -mavx2 for compiling avx2 intrinsics? I know that -mavx2 is a flag and -march=haswell/core-avx2 are …

  10. unrecognized command-line option '-arch'; did you mean '-march='?

    I've encountered a similar problem when cross-compiling a RISC-V project on my MacBook with macOS Sonoma. I found that CMake will set -arch arm64 by default, and there is an option controlling the …