[Bug inline-asm/43998] inline assembler: can't set clobbering for input register
socketpair at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu May 6 13:42:00 GMT 2010
------- Comment #7 from socketpair at gmail dot com 2010-05-06 13:42 -------
> Just make eax both input and output.
it's not optimal. gcc will try to preserve new eax value. So it will not use
eax register in next instructions. If eax is really need, it will save it in
esi, edi or so on - it's redundant.
--
socketpair at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43998
More information about the Gcc-bugs
mailing list