This is the mail archive of the gcc-patches@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: [G]CSE of extended asm statements



  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


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