[Bug inline-asm/36048] wrong assumption about registers used in asm statements
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Apr 25 19:01:00 GMT 2008
------- Comment #1 from pinskia at gcc dot gnu dot org 2008-04-25 19:01 -------
>that the register %edx was not modified by the inline assembly statement.
Yes that is because your constraints only say the inline-asm reads the value
and not modifies it.
> : : "a" (d1), "c" (d2), "d" (addr))
Those are only input constraints, you don't have any output constraints.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36048
More information about the Gcc-bugs
mailing list