[Bug target/114224] popcount RTL cost seems wrong with cssc
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 4 23:04:49 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114224
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org
Last reconfirmed| |2024-03-04
Ever confirmed|0 |1
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Interesting:
```
int h1(unsigned a)
{
return __builtin_popcountg(a) == 1;
}
```
works.
Anyways I will be adding POPCOUNT's rtl cost here.
We don't even handle POPCOUNT for vector modes either ...
More information about the Gcc-bugs
mailing list