[MPlayer-dev-eng] Display more cpuflags

Xidorn Quan quanxunzhen at gmail.com
Mon Oct 22 06:32:05 CEST 2012


On Mon, Oct 22, 2012 at 9:49 AM, Josh <joshf87 at live.com> wrote:

> On 10/21/2012 21:24, Xidorn Quan wrote:
>
>> On Mon, Oct 22, 2012 at 9:08 AM, Josh <joshf87 at live.com> wrote:
>>
>>  Rather simple, it adds SSE4, SSE4.2 and AVX to the 'Cpuflags:' line and
>>> report if they were compiled with them in the case of not using runtime
>>> cpu
>>> detection. Test on my i7-2600k (chose to disable AVX):
>>>
>>> CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1
>>> SSE4: 1 SSE4.2: 1 AVX: 1
>>> Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 SSSE3 SSE4 SSE4.2
>>> CMOV
>>>
>>>  Why not add SSE3 as well? It isn't the same as SSSE3.
>> One more question, CMOV is also a CPU flag, and AVX is a extension, too.
>> Why are they absent in those sides?
>> ______________________________**_________________
>> MPlayer-dev-eng mailing list
>> MPlayer-dev-eng at mplayerhq.hu
>> https://lists.mplayerhq.hu/**mailman/listinfo/mplayer-dev-**eng<https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng>
>>
>>
>>
> Here's  for SSE3. As for including CMOV to "Cpuflags:", I don't see
> anything in cpudetect.c for a "hasCMOV" or anything.
>

Well, right, it makes no sense to detect cmov at runtime.


> CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSE3: 1
> SSSE3: 1 SSE4: 1 SSE4.2: 1 AVX: 1
> Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 SSE3 SSSE3 SSE4
> SSE4.2 AVX CMOV
>

LGTM, now.


More information about the MPlayer-dev-eng mailing list