[Bug target/122018] x86 doesn't use BTS bitmanip instruction to both set and test bit
"segher at gcc dot gnu.org via Gcc-bugs" <[email protected]>
| Newsgroups | gmane.comp.gcc.bugs |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122018
Segher Boessenkool <segher at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |segher at gcc dot gnu.org
--- Comment #16 from Segher Boessenkool <segher at gcc dot gnu.org> ---
(In reply to Hongtao Liu from comment #4)
> (In reply to Hongtao Liu from comment #3)
> > Maybe we should have a peephole for that, to optimize bts + bt to just bts.
Either that, or formulate it in RTL in such a way that it automatically
works the way you want with existing optimisations!