https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91333
--- Comment #3 from Marc Glisse <glisse at gcc dot gnu.org> --- gcc version 9.2.1 20191109 (Debian 9.2.1-19) (current debian testing/unstable) gives me the 3 movapd, whether I use -O1, -O2 or -O3, and -Os gives 2 movapd. I didn't try with a vanilla gcc, not sure which debian-specific patch could be relevant (-fno-pie doesn't change anything). With gcc-snapshot (Debian 20191008-1), only -O1 gives some movapd (only 2).