This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/82479] missing popcount builtin detection
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 09 Oct 2017 08:46:07 +0000
- Subject: [Bug middle-end/82479] missing popcount builtin detection
- Auto-submitted: auto-generated
- References: <bug-82479-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82479
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|unknown |8.0
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Technically loop distribution would be one place to add this. Or SCEV cprop.
The pattern matching should be quite cheap - the question is of course how many
different ways to express popcount exist... so it does somewhat feel like a
SPEC hack...