[vlc-devel] [PATCH 01/41] i_ebx can be 0x12fe90 on some AMD CPUs.

Rémi Denis-Courmont remi at remlab.net
Tue Oct 11 12:50:04 CEST 2011


On Tue, 11 Oct 2011 19:39:19 +0900, KO Myung-Hun <komh78 at gmail.com> wrote:
> Rémi Denis-Courmont wrote:
>> Le lundi 10 octobre 2011 14:43:40 KO Myung-Hun, vous avez écrit :
>>> My AMD ThunderBird CPU is the case.
>> 
>> This looks fishy. It should be all ASCII printable characters...
>> 
> 
> I'm sorry I don't understand what you mean.

See http://en.wikipedia.org/wiki/CPUID#EAX.3D0:_Get_vendor_ID

EBX = 0x68747541 (little-endian) reads "Auth" in ASCII.

EBX = 0x0012fe90 makes no sense. My guess is that the compiler is
clobbering the EBX register. Maybe the inline assembly code is slightly
wrong. In that case, accepting 0x0012fe90 is not a real solution to the
problem.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list