[yoshimi] Re: Some note for -O3

  • From: "Nikita Zlobin" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "cook60020tmp" for DMARC)
  • To: yoshimi@xxxxxxxxxxxxx
  • Date: Sun, 7 Apr 2019 14:12:08 +0500

В Sun, 7 Apr 2019 14:06:56 +0500
Nikita Zlobin <cook60020tmp@xxxxxxx> пишет:

In Sun, 7 Apr 2019 13:57:38 +0500
Nikita Zlobin <cook60020tmp@xxxxxxx> wrote:

Just a couple of minutes later i find slightly different:
https://stackoverflow.com/questions/51232100/gcc-auto-vectorization

Checking gcc manual...

      -ftree-vectorize
           Perform vectorization on trees. This flag enables
-ftree-loop-vectorize and -ftree-slp-vectorize if not explicitly
specified.

       -ftree-loop-vectorize
           Perform loop vectorization on trees. This flag is enabled
by default at -O3 and when -ftree-vectorize is enabled.

       -ftree-slp-vectorize
           Perform basic block vectorization on trees. This flag is
           enabled by default at -O3 and when -ftree-vectorize is
           enabled.

Sorry for some unfixed russian words...
I was too pretty with conclusions. Looks like -O3 just enables them by
default, but nothing is against of enabling them at -O2 and probably -O1

GCC manual has examples at least with -O2 combined with considered
options (i doubt why one will want -O1 for audio processing software,
so that seem to be enough).
Yoshimi source code is available from either: 
https://sourceforge.net/projects/yoshimi
Or: https://github.com/Yoshimi/yoshimi
Our list archive is at: https://www.freelists.org/archive/yoshimi
To post, email to yoshimi@xxxxxxxxxxxxx

Other related posts: