As you have pointed out, besides producing binaries incompatibility with older cpus, march=native isn't necessarily beneficial It improves performance in some cases such as numerical computing But it is not beneficial in many other cases, and is sometimes detrimental. But beyond that, how do i choose the right one for my application? As far as i know, the compilation option for msvc that tells the compiler to use special available instruction is /arch Gentoo wiki told me the following
Unless you have a specific reaso. I'm compiling my c++ app using gcc 4.3 There are a lot of possible combinations of extensions, so only the most relevant were chosen (e.g `rv64imafdc_zicsr' thanks for any response and help Asked 4 years, 4 months ago modified 1 year, 5 months ago viewed 3k times
WATCH