This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [G]CSE of extended asm statements
- To: Richard Henderson <rth at cygnus dot com>
- Subject: Re: [G]CSE of extended asm statements
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 29 Aug 2000 19:35:17 -0600
- cc: Alexandre Oliva <aoliva at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <20000829160417.B5472@cygnus.com>you write:
> On Tue, Aug 29, 2000 at 01:23:43PM -0600, Jeffrey A Law wrote:
> > > * gcc.c-torture/compile/20000827-1.c: New test.
> > Err, this is x86 specific since it depends on 'a' and 'b' being defined
> > register classes.
>
> Look again:
>
> + /* gcse should not merge these asm statements, since their
> + output operands have different modes. */
> + __asm__("":"=r" (a)); __asm__("":"=r" (b));
>
> "r" is the register class, "a" and "b" are variables. The
> test case should be ok genericly.
My goof -- scanning too quickly. Sorry.
jeff