cpu autodetection for FreeBSD

Eric Anholt eta at lclark.edu
Tue May 20 15:35:43 CDT 2003


Wine lacks code to detect the CPU for FreeBSD, which causes problems
with many installers.  I wrote a patch some time ago which solved it for
me, but I didn't submit due to not really knowing if it was right.  In
particular I wasn't sure if PF_XMMI_INSTRUCTIONS_AVAILABLE meant SSE or
SSE2 (the commented OS check is for sse1).  It also hasn't been really
tested on any system but my Athlon.

Anyway, if someone would like to review and possibly commit it, that
would be great.

I'm not subscribed to the list, so CC me on replies.  I don't use wine
because it hangs whenever I try to run anything I'm interested in (bug
1215, where did the description go?)

-- 
Eric Anholt                                eta at lclark.edu          
http://people.freebsd.org/~anholt/         anholt at FreeBSD.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-cpu.c
Type: text/x-c
Size: 3369 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20030520/d17577c2/patch-cpu.bin


More information about the wine-patches mailing list