[Bug tree-optimization/88398] vectorization failure for a small loop to do byte comparison

guojiufu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 28 02:30:38 GMT 2020


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

--- Comment #33 from Jiu Fu Guo <guojiufu at gcc dot gnu.org> ---
It would be relatively easy if the target supports unaligned access.  like
read64ne in
https://git.tukaani.org/?p=xz.git;a=blob;f=src/liblzma/common/memcmplen.h
Then the alignment issue is relaxed.   It may be safer if we can prove/assume
the underlying buffer is enough, like array accessing or pointer+index
accessing in a loop.


More information about the Gcc-bugs mailing list