FreeBSD Bugzilla – Attachment 92688 Details for
Bug 130396
[maintainer] math/msieve: fix build on i386 with unset CPUTYPE or no MMX support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
msieve_MMX_fix.diff
msieve_MMX_fix.diff (text/plain), 871 bytes, created by
Daniel Roethlisberger
on 2009-01-11 23:00:16 UTC
(
hide
)
Description:
msieve_MMX_fix.diff
Filename:
MIME Type:
Creator:
Daniel Roethlisberger
Created:
2009-01-11 23:00:16 UTC
Size:
871 bytes
patch
obsolete
>diff -ruN msieve.orig/files/patch-include_util.h msieve/files/patch-include_util.h >--- msieve.orig/files/patch-include_util.h 1970-01-01 01:00:00.000000000 +0100 >+++ msieve/files/patch-include_util.h 2009-01-11 23:47:04.000000000 +0100 >@@ -0,0 +1,21 @@ >+--- include/util.h.orig 2008-09-24 15:59:32.000000000 +0200 >++++ include/util.h 2009-01-11 23:46:55.000000000 +0100 >+@@ -202,8 +202,18 @@ >+ the only CPU that doesn't have these instructions is >+ the classic Pentium */ >+ >++#if defined(CPU_GENERIC) || \ >++ defined(CPU_PENTIUM2) || \ >++ defined(CPU_ATHLON) || \ >++ defined(CPU_PENTIUM3) || \ >++ defined(CPU_ATHLON_XP) || \ >++ defined(CPU_PENTIUM4) || \ >++ defined(CPU_PENTIUM_M) || \ >++ defined(CPU_CORE) || \ >++ defined(CPU_OPTERON) >+ #define HAS_CMOV >+ #define HAS_MMX >++#endif >+ >+ #if defined(CPU_GENERIC) >+ #define MANUAL_PREFETCH
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 130396
: 92688