For nerd purposes I’ve been trying to custom compile Wine to see if i can squeeze some performance out of it, i pulled out the -g flag and put in its place -O3 with march native. i don’t know how to benchmark properly to see if there at least a marginal gain, so idk if it is a placebo or not. tried to search for articles in the subject but found none

has anyone tried it or know an article that explored the subject?

  • @olgas_husbandOP
    link
    13 months ago

    many thanks for the explanation.

    i use a ryzen 5 5600x, so march native should do something.

    • Atemu
      link
      fedilink
      2
      edit-2
      3 months ago

      i use a ryzen 5 5600x, so march native should do something.

      It fully depends on the code. If the code in question does not do the kinds of calculations that can benefit from SIMD instructions, march=native will do absolutely nothing for you, no matter how special or new your CPU might be.

      I doubt WINE does many things that would benefit from SIMD but the only way to know for sure is to test it out.