[Bug target/115336] [15] rv64gcv_zvl256b miscompile at -O3

2024-07-03 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115336 --- Comment #3 from Robin Dapp --- Follow-up on this one: My workaround of emitting a vmv.v.i v[0-9],0 before any (potentially) offending masked load is not going to work universally. That's because on several instances we make use of the fact

[Bug target/115336] [15] rv64gcv_zvl256b miscompile at -O3

2024-06-04 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115336 --- Comment #2 from Robin Dapp --- It looks to me as if we're expecting the result of a gather_load to be zero when it's masked out (semantics of mask_gather_load) but for mask_len_gather_load we actually describe it as undefined. Here the

[Bug target/115336] [15] rv64gcv_zvl256b miscompile at -O3

2024-06-03 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115336 Patrick O'Neill changed: What|Removed |Added Keywords||wrong-code Target|