This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: regmove fix
- To: Marc dot Espie at liafa1 dot liafa dot jussieu dot fr
- Subject: Re: regmove fix
- From: Jeffrey A Law <law at hurl dot cygnus dot com>
- Date: Tue, 19 Jan 1999 17:25:31 -0700
- cc: egcs at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
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