This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/88013] can't vectorize rgb to grayscale conversion code
- From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 14 Nov 2018 10:26:09 +0000
- Subject: [Bug target/88013] can't vectorize rgb to grayscale conversion code
- Auto-submitted: auto-generated
- References: <bug-88013-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88013
--- Comment #7 from ktkachov at gcc dot gnu.org ---
I tried current trunk (future GCC 9)
GCC 9 learned to avoid excessive widening during vectorisation, which is what
accounts for the large number of instructions you see.