[MPlayer-dev-eng] [PATCH] Make cpuinfo calculate correct frequency under x86-64

Zuxy Meng zuxy.meng at gmail.com
Thu Feb 18 16:12:23 CET 2010


'=A' under x86-64 means %rdx:%rax instead of %edx:%eax so cpuinfo will
produce wrong result. The attached patch makes this small program work
well under both x86 and x86-64.

-- 
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cpuinfo.c.diff
Type: application/octet-stream
Size: 425 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100218/2e271b49/attachment.obj>


More information about the MPlayer-dev-eng mailing list