[Bug middle-end/118012] [avr] Expensive code (bit extract + extend + neg + and) instead of bit test
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 12 19:02:30 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118012
--- Comment #11 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Georg-Johann Lay from comment #10)
> > Expanding it for scalar modes and using it for isel can happen.
> How would the backend chime in? Only per costs, or is there more control
> qua new standard insns?
In the case of optabs, it just having the obtabs being enabled will be the
method for most of them. But we might add some target hooks if there is some
more control needed for some things chosing between the optab or a different
method. This is not fully fleshed out yet. The first optabs method I was adding
was andn/iorn (which had the optab for it already); just nothing is producing
the scalar version of them yet.
More information about the Gcc-bugs
mailing list