Bug 14662 - mmxext detection on intel penm wrong
Summary: mmxext detection on intel penm wrong
Status: RESOLVED NOTABUG
Alias: None
Product: liboil
Classification: Unclassified
Component: unknown (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: David Schleef
QA Contact: David Schleef
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-25 03:54 UTC by Stefan Kost
Modified: 2008-02-25 14:18 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Stefan Kost 2008-02-25 03:54:26 UTC
The new version of gstreamers goom in plugins-good uses:
if (cpuFlavour & OIL_IMPL_FLAG_MMXEXT) {

$ GST_DEBUG="goom:3" totem
0:00:01.435592590 23915 0x809b470 INFO                  goom plugin_info.c:43:setOptimizedMethods: liboil cpu flags: 0x001f0000
0:00:01.435750999 23915 0x809b470 INFO                  goom plugin_info.c:47:setOptimizedMethods: have an x86
0:00:01.435804082 23915 0x809b470 INFO                  goom plugin_info.c:49:setOptimizedMethods: Extended MMX detected. Using the fastest methods!

this does not correlate with $ cat /proc/cpuinfo 
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 13
model name      : Intel(R) Pentium(R) M processor 1.86GHz
stepping        : 8
cpu MHz         : 800.000
cache size      : 2048 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe up est tm2
bogomips        : 1598.38
clflush size    : 64

The bug for goom plugin is:
http://bugzilla.gnome.org/show_bug.cgi?id=518564
Comment 1 Sebastian Dröge (slomo) 2008-02-25 04:05:39 UTC
OTOH Wikipedia and the liboil comments suggest that extended MMX is a subset of what Intel added as SSE2 to their CPUs so it might be correct.

What brings goom to crash is the femms instruction that is part of 3dnow.
Comment 2 David Schleef 2008-02-25 14:18:19 UTC
Yup, not a liboil bug.  Use OIL_IMPL_FLAG_3DNOW.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.