https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40073
Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amylaar at gcc dot gnu.org --- Comment #11 from Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> --- Created attachment 45079 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45079&action=edit testcase using restricted shift count Even if the shift count is restricted in range by applying an AND first, which also further boosts the optimization potential for SHIFT_COUNT_TRUNCATED targets, the code is not vectorized.