https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101366
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Target| |x86_64-linux-gnu Last reconfirmed| |2021-07-07 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Summary|x86 memset codegen for |memset codegen for constant |constant sized is |sized does not use SSE |suboptimal |instructions Severity|normal |enhancement --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- AARCH64 is fine: TestStd(char*): ldr b0, [x0, -1] dup v0.16b, v0.b[0] stp q0, q0, [x0] stp q0, q0, [x0, 32] ret