[cairo-bugs] [Bug 4706] New: SSE configuration excludes SSE capable
CPUs
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Oct 7 07:46:43 PDT 2005
Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://bugs.freedesktop.org/show_bug.cgi?id=4706
Summary: SSE configuration excludes SSE capable CPUs
Product: cairo
Version: 1.0.2
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: general
AssignedTo: cworth at cworth.org
ReportedBy: stevech1097 at yahoo.com.au
QAContact: cairo-bugs at cairographics.org
cairo/pixman/fbmmx.c has lines:
#if defined(__amd64__) || defined(__x86_64__)
#define USE_SSE
#endif
which excludes the Athlon-XP (which supports SSE) from running the SSE code.
(It looks like its excluding the Pentium 3 and Pentium 4 which also
support SSE)
Attached patch allows the Athlon-XP to run the SSE code.
Tested on my system with the imagepattern gtk snippet - the SSE version
of expand_alpha is called and works OK.
It seems odd having MMX selected at run-time and then selecting
SSE at compile-time. I think run-time detection for SSE may be a better
solution.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the cairo-bugs
mailing list