[vlc-devel] [PATCH] Add "ebx" to a clobber list

Rafaël Carré funman at videolan.org
Mon Oct 24 16:04:44 CEST 2011


Le Mon, 24 Oct 2011 19:45:42 +0900,
KO Myung-Hun <komh78 at gmail.com> a écrit :

> 
> 
> Rafaël Carré wrote:
> > Le Sun, 23 Oct 2011 19:29:47 +0900,
> > KO Myung-Hun <komh78 at gmail.com> a écrit :
> > 
> >> Hi/2.
> >>
> >> This patch fixes the problem that "ebx" is corrupted on the some
> >> compiler such as gcc 4.4.5.
> > 
> > Doesn't push/pop do this already?
> > 
> > If the compiler is buggy can you paste corresponding assembler output? (replace -c by -S in compiler command)
> > 
> 
> Of course. ^^

Thanks,

Like Rémi says we should also remove push/pop.

I don't know how cpuid instruction works, but why is i_ebx using "=r"
and not "=b" like the other registers?

-- 
Rafaël Carré



More information about the vlc-devel mailing list