[Bug target/112384] a non-constant vec dup should be improved

2023-11-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112384 Richard Biener changed: What|Removed |Added Target|aarch64 |aarch64, x86_64-*-* Ever confirmed

[Bug target/112384] a non-constant vec dup should be improved

2023-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112384 --- Comment #1 from Andrew Pinski --- Oh f2 just goes to memory. Produces: ``` and x0, x0, 3 str q0, [sp] ldr s0, [sp, x0, lsl 2] dup v0.4s, v0.s[0] ``` Now clang(LLVM) produces: ``` mov