https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120734
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
Last reconfirmed| |2025-06-20
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
It is done on purpose with
/* X86_TUNE_SPLIT_LONG_MOVES: Avoid instructions moving immediates
directly to memory. */
DEF_TUNE (X86_TUNE_SPLIT_LONG_MOVES, "split_long_moves", m_PPRO)
However, it only applies to MOV, not other store instructions, like ADD, XOR,
AND, ...