------- Comment #8 from rguenth at gcc dot gnu dot org 2010-05-06 13:55 ------- (In reply to comment #7) > > 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.
Not if you make the output unused by not using it. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43998