[Bug target/106755] Incorrect code gen for altivec intrinsics with constant inputs

2022-08-26 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106755 --- Comment #5 from Segher Boessenkool --- (In reply to Peter Bergner from comment #2) > So the tests (I've removed all static inline usage and always use > -fno-inline) pass with -O1 and fail with -O2 and -O3. Looking at all of the > optimizat

[Bug target/106755] Incorrect code gen for altivec intrinsics with constant inputs

2022-08-26 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106755 --- Comment #4 from Peter Bergner --- (In reply to Andrew Pinski from comment #3) > So yes there is aliasing violation as you do the store as vui128_t aka > "__vector unsigned __int128" (which has the same aliasing set) as "__int128" > but then

[Bug target/106755] Incorrect code gen for altivec intrinsics with constant inputs

2022-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106755 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|NEW