This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug inline-asm/36048] wrong assumption about registers used in asm statements



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]