[Bug tree-optimization/40073] Vector short/char shifts generate sub-optimal code
amylaar at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Nov 24 08:09:00 GMT 2018
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.
More information about the Gcc-bugs
mailing list