[MPlayer-dev-eng] Re: [PATCH] Various improvement in TOOLS/cpuinfo.c
Zuxy Meng
zuxy.meng at gmail.com
Mon May 15 17:20:15 CEST 2006
2006/5/15, Mohammad A. Haque <mhaque at haque.net>:
> On May 15, 2006, at 9:30 AM, Zuxy Meng wrote:
>
> Compiles fine now.
>
> [mhaque at batmobile mplayerosx]$ gcc -o main/TOOLS/cpuinfo main/TOOLS/
> cpuinfo.c
> [mhaque at batmobile mplayerosx]$ main/TOOLS/cpuinfo
> vendor_id : GenuineIntel
> cpu family : 6
> model : 14
> stepping : 8
> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr
> pge mca cmov pat cflsh dts acpi mmx fxsr sse sse2 ss ht tm pbe pni
> monitor vmx est tm2 xtpr nx
> cpu MHz : 1072.808
> model name : Genuine Intel(R) CPU T2600 @ 2.16GHz
>
Well, things have become complex then. Obviously darwin gcc doesn't
recognize 'b' in asm constraints and we have to save ebx to esi by
hand. Then we have to distinguish x86 and x86_64 in cpuinfo.c. Is
there an available macro?
--
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6
More information about the MPlayer-dev-eng
mailing list