qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Re: [PATCH 1/5] Fix i386 Host


From: Johannes Schindelin
Subject: Re: [Qemu-devel] Re: [PATCH 1/5] Fix i386 Host
Date: Fri, 18 Jan 2008 13:44:34 +0000 (GMT)
User-agent: Alpine 1.00 (LSU 882 2007-12-20)

Hi,

On Fri, 18 Jan 2008, Alexander Graf wrote:

> On Jan 18, 2008, at 2:14 AM, consul wrote:
> 
> > It broke mingw build with gcc-3.4.2
> 
> Does it work if you change the lines I'll comment on below?

Yes, if I force the pushing and popping of ecx, it compiles 
(unfortunately, I could not test the result yet).  But does

> > > +#ifdef GCC_BREAKS_T_REGISTER
> > > +                  : "%eax", "%edx", "memory", "cc");
> > > +#else
> > >                 : "%eax", "%ecx", "%edx", "memory", "cc");
> > > +#endif

not make

> > > +#ifdef GCC_BREAKS_T_REGISTER
> > > +                  "pushl %%ecx\n"
> > > +#endif

and

> > > +#ifdef GCC_BREAKS_T_REGISTER
> > > +                  "popl %%ecx\n"
> > > +#endif

obsolete (it's been a long time since I did assembler stuff, so forgive 
me this stupid question)?

Ciao,
Dscho




reply via email to

[Prev in Thread] Current Thread [Next in Thread]