Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 May 2005 21:21:56 +0200 (MEST)
From:      Michiel Boland <michiel@boland.org>
To:        Pav Lucistnik <pav@oook.cz>
Cc:        riggs@rrr.de, freebsd-amd64@freebsd.org
Subject:   Re: mplayer, amd64, and CPU flags [patch]
Message-ID:  <Pine.GSO.4.62.0505222114270.27863@brakkenstein.nijmegen.internl.net>
In-Reply-To: <1116697452.79313.31.camel@hood.oook.cz>
References:  <20050521022130.GW52914@afflictions.org>  <20050521105451.V92958@fw.reifenberger.com> <200505211237.00974.loox@e-shell.net> <1116697452.79313.31.camel@hood.oook.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

---559023410-1804928587-1116789664=:27863
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; FORMAT=flowed
Content-ID: <Pine.GSO.4.62.0505222121111.27895@brakkenstein.nijmegen.internl.net>

Rather than hack the port Makefile, I think it is better to fix cpuinfo.c. 
I placed the attached patch-TOOLS-cpuinfo.c in 
ports/multimedia/mplayer/files and then recompiled mplayer. It now detects 
the cpu properly. I am CC-ing this to the port maintainer; hopefully this 
can be merged into the real source somehow.

$ mplayer
MPlayer 1.0pre7-3.4.2 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices  (Family: 8, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
---559023410-1804928587-1116789664=:27863
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; NAME=patch-TOOLS-cpuinfo.c
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.GSO.4.62.0505222121040.27863@brakkenstein.nijmegen.internl.net>
Content-Description: 
Content-Disposition: ATTACHMENT; FILENAME=patch-TOOLS-cpuinfo.c

LS0tIFRPT0xTL2NwdWluZm8uYy5vcmlnCU1vbiBPY3QgMTEgMjE6MjY6MTMg
MjAwNA0KKysrIFRPT0xTL2NwdWluZm8uYwlTdW4gTWF5IDIyIDIwOjU3OjEx
IDIwMDUNCkBAIC00MCwxMyArNDAsOSBAQA0KIGNwdWlkKGludCBmdW5jKSB7
DQogCWNwdWlkX3JlZ3NfdCByZWdzOw0KICNkZWZpbmUJQ1BVSUQJIi5ieXRl
IDB4MGYsIDB4YTI7ICINCi0JYXNtKCJwdXNoICUlZWJ4OyAiDQotCSAgICAi
bW92bCAlNCwlJWVheDsgIiBDUFVJRA0KLQkgICAgIm1vdmwgJSVlYXgsJTA7
IG1vdmwgJSVlYngsJTE7IG1vdmwgJSVlY3gsJTI7IG1vdmwgJSVlZHgsJTM7
ICINCi0JICAgICJwb3AgJSVlYngiDQotCQk6ICI9bSIgKHJlZ3MuZWF4KSwg
Ij1tIiAocmVncy5lYngpLCAiPW0iIChyZWdzLmVjeCksICI9bSIgKHJlZ3Mu
ZWR4KQ0KLQkJOiAiZyIgKGZ1bmMpDQotCQk6ICIlZWF4IiwgIiVlY3giLCAi
JWVkeCIpOw0KKwlhc20oQ1BVSUQNCisJCTogIj1hIiAocmVncy5lYXgpLCAi
PWIiIChyZWdzLmVieCksICI9YyIgKHJlZ3MuZWN4KSwgIj1kIiAocmVncy5l
ZHgpDQorCQk6ICIwIiAoZnVuYykpOw0KIAlyZXR1cm4gcmVnczsNCiB9DQog
DQo=

---559023410-1804928587-1116789664=:27863--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.62.0505222114270.27863>