Closed
Bug 366714
Opened 19 years ago
Closed 19 years ago
[PATCH] Fix buggy MMX check for non-SSE AMD cpus
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: dcbw, Unassigned)
Details
Attachments
(1 file)
|
615 bytes,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en; rv:1.8.0.8) Gecko/20061107 Fedora/1.5.0.8-1.fc6 Epiphany/2.16 Firefox/1.5.0.8
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en; rv:1.8.0.8) Gecko/20061107 Fedora/1.5.0.8-1.fc6 Epiphany/2.16 Firefox/1.5.0.8
See X.org bug here:
http://bugs.freedesktop.org/show_bug.cgi?id=9614
The core problem is a bug in pixman, which many projects (including Mozilla) copied from X. Details repeated below:
There are two fixes here:
1) s/result/features - the code needs to be checking 'features' here, not
'result'. Result is the actual cpuflags; features is the condensed set of
things pixman cares about. Obviously if MMX = 0x1, (result & MMX) will never
give what we want here since for result the MMX bit is 23.
2) On the AMD Geode processor, which has MMX and MMX extensions, just checking
"AuthenticAMD" is not correct. We need to check for "Geode by NSC" instead.
Credit for the fixes in this patch goes to:
Marco Gritti <mpg at redhat dot com>
Jordan Crouse <jordan dot crouse at amd dot com>
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
| Reporter | ||
Comment 1•19 years ago
|
||
Should be applied to copied pixman source in the X11 bits of Mozilla/xulrunner/etc.
Updated•19 years ago
|
Component: OS Integration → GFX: Thebes
Product: Firefox → Core
QA Contact: os.integration → thebes
Version: unspecified → Trunk
This needs to go into upstream cairo; it'll be pulled down from there.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•