[Bug inline-asm/97708] Inline asm does not use the local register asm specified with register ... asm() as input

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 3 21:01:41 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97708

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I agree with Andrew here, the compiler does what it is asked to do, so puts the
value into either memory or general purpose register.  Neither "r" nor "g"
allows putting the value into an SSE register.  Use "x" constraint for that.


More information about the Gcc-bugs mailing list