[MPlayer-dev-eng] [PATCH] CPU detection related

Zuxy zuxy.meng at gmail.com
Sun Oct 16 13:12:20 CEST 2005


Hi,

cputable.h.diff contains information update, bug fixes and punctuation
modifications to the original cputable.h. I suppose there's no reason
to reject it:-)

cpudetect.h.diff and cpudetect.c.diff together change the original
behavior of mplayer: it first determines whether the CPU has a
built-in namestring; if so, then the namestring is displayed and
codenames in cputable.h aren't used; if not it'll fall back to the
original behavior, looking up the cputable.h.

I've explained the reasons for the last two patches in another thread.
However, I don't go radical by removing cputable.h at all and
depending on built-in namestring only, partly because only P4 or newer
Intel CPUs have a namestring (all AMD CPUs supporting cpuid support
namestring), and in memory of those who have collected all the odd
codenames as well:-)

The team are to decide whether to apply only cputable.h.diff, or apply
all the three. In the latter case mplayer may contain dead codes and
data, those that should never be executed or accessed on a
commercially available CPU.

--
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cputable.h.diff
Type: application/octet-stream
Size: 2496 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20051016/efd0f77f/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cpudetect.h.diff
Type: application/octet-stream
Size: 232 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20051016/efd0f77f/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cpudetect.c.diff
Type: application/octet-stream
Size: 2198 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20051016/efd0f77f/attachment-0002.obj>


More information about the MPlayer-dev-eng mailing list