https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117007
--- Comment #3 from Steven Munroe <munroesj at gcc dot gnu.org> --- I tested the attached example source on GCC 14.0.1 from Ubuntu on powerpc64le. Seeing the same results. So add GCC 14.0.1 to this list. Actually the last GCC version that did not have this bug was GCC 7. Looks like GCC 8-14 all do this. I don't have the time or stamina to build GCC from source head right now. But any one can try using the attached same source. gcc -O3 -mcpu=power8 -c vec-shift32-const.c Then objdump and look for any lvx instructions. There should be none.