https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97708
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- "g" constraint won't work here: āgā Any register, memory or immediate integer operand is allowed, except for registers that are not general registers. ---- CUT --- Notice the last part: "registers that are not general register". You need to use the "x" constraint here which is for sse register.