[Bug target/126550] RISC-V: auto-vectorization miscompiles duplicated deinterleave store via vcompress/vrgather (rv64gcv_zvl256b)

"rdapp at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126550

--- Comment #2 from Robin Dapp <rdapp at gcc dot gnu.org> ---
Yeah, the permute constant in the constant pool looks dubious:

.LC3:
        .half   0
        .half   1
        .half   0
        .half   1
        .half   0
        .half   1
        .half   0
        .half   1
        .half   0
        .half   1
        .half   0
        .half   1
        .half   0
        .half   1
        .half   0
        .half   1

This should be 0, 1, 0, 1, 2, 3, 2, 3, ...
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.