https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108738
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:e1dfac7e71056e879f101fef1c5ecb8ff6be1a1f commit r13-5995-ge1dfac7e71056e879f101fef1c5ecb8ff6be1a1f Author: Richard Biener <rguent...@suse.de> Date: Thu Feb 9 13:40:43 2023 +0100 target/108738 - optimize bit operations in STV The following does low-hanging optimizations, combining bitmap test and set and removing redundant operations. PR target/108738 * config/i386/i386-features.cc (scalar_chain::add_to_queue): Combine bitmap test and set. (scalar_chain::add_insn): Likewise. (scalar_chain::analyze_register_chain): Remove redundant attempt to add to queue and instead strengthen assert. Sink common attempts to mark the def dual-mode. (scalar_chain::add_to_queue): Remove redundant insn bitmap check.