https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119103

--- Comment #12 from Niklas Haas <gcc at haasn dot dev> ---
Out of curiosity, is there a work-around that I could use to get current
versions of GCC to compile the right thing, but without breaking cross-platform
compatibility?

I did try replacing the assertion by "x[i] << (amount & 0xF)" but the vector
version of the code at least still compiles down to vpslld.

Reply via email to