This is the mail archive of the gcc@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]

Re: regmove fix




  In message <199901200015.BAA01622@quatramaran.ens.fr>you write:
  > It may be a few days before I can tell you the result, from my point
  > of view.
  > Basically, it seems that egcs-current is more aggressive, and broke a
  > few asm statements, that were probably badly formed, e.g.,
  > 
  > __asm __volatile("cld\n\trepne\n\toutsl"  :
  > : "d" (port), "S" (addr), "c" (cnt) : "%esi", "%ecx");
  > 
  > Since I don't know enough about i386 assembler, I'm getting some other
  > developpers to fix them... I hope to have some relevant statistics right
  > after that...
That asm is bogus.  It explicitly clobbers registers which overlap with inputs
and/or outputs.

This asm was wrong regardless of what regmove may have been doing.

jeff


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