https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114224

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #2)
> 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 ...

Nor we handle:
```
(set (reg:DI 105)
    (zero_extend:DI (unspec:QI [
                (reg:V8QI 107)
            ] UNSPEC_ADDV)))

```

Reply via email to