Date: Mon, 25 May 2015 10:51:29 +0200 From: Mathieu Arnold <mat@FreeBSD.org> To: Tijl Coosemans <tijl@FreeBSD.org>, Jan Beich <jbeich@FreeBSD.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r387283 - head/devel/sdl20 Message-ID: <7442044CBA8EBE7D282ECE9F@atuin.in.mat.cc> In-Reply-To: <20150525103725.240723c2@kalimero.tijl.coosemans.org> References: <201505241648.t4OGmf2K096837@svn.freebsd.org> <7frx-7t2s-wny@vfemail.net> <20150525103725.240723c2@kalimero.tijl.coosemans.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--==========7DD2883ED952AC191AB1========== Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline +--On 25 mai 2015 10:37:25 +0200 Tijl Coosemans <tijl@FreeBSD.org> wrote: | On Sun, 24 May 2015 20:01:47 +0200 Jan Beich <jbeich@FreeBSD.org> wrote: |> Tijl Coosemans <tijl@FreeBSD.org> writes: |>> +.if defined(MACHINE_CPU) && ${MACHINE_CPU:Mmmx} |>> +CONFIGURE_ARGS+= --enable-mmx |>> +.else |>> +CONFIGURE_ARGS+= --disable-mmx |>> +.endif |> |> Why not use smth like the following instead ? |> |> OPTIONS_DEFAULT_i386= ${MACHINE_CPU:tu:MMMX} | | Because an option doesn't make much sense for CPU features. Either | the target CPU supports MMX or it doesn't. It's not a user choice. Well, yes and no, I'm building packages on a: CPU: Intel(R) Xeon(R) CPU E5-2430L 0 @ 2.00GHz (2000.04-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x206d7 Family = 0x6 Model = 0x2d Stepping = 7 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0x1fbee3ff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX> AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM> AMD Features2=0x1<LAHF> VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID TSC: P-state invariant, performance statistics but my i386 packages have to work on a CPU: Geode(TM) Integrated Processor by AMD PCS (498.05-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x5a2 Stepping = 2 Features=0x88a93d<FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CLFLUSH,MMX> AMD Features=0xc0400000<MMX+,3DNow!+,3DNow!> True, they all support MMX instructions, but I'd say it's more by chance than anything else :-) -- Mathieu Arnold --==========7DD2883ED952AC191AB1========== Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQJ8BAEBCgBmBQJVYuKTXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85IvhoQAKX0YOe5TvBrClusiO2UJCTV qp1LKNLKH8K6Gj+ft7V08RtLow2z+Ibkb56GpIqT8/WnxRe42yEwpLlzXx36Rru0 19FvlHOMWnvPH7HwoH8BPq16hecG0pEQv1vEtMooMbUrojDczrmWfpD5MzWNHaT9 JsKYko+Iwibzk+fsJwl95yIw4KqLISXWEBJ2rvn/J1TpbDFhy74l5AvGyymfcXOo 3AB8DfRzECf/RS6stTxnA9PK78qDGVOKM9JiRU0Nzf2z0TPer0fKGlpQKSInucCY 9z0ezkt6XI5ryvpSXBsdHXwbQO26smt0/NUJ5Jc5vnH5E4jSpy4rUtUpBI864uNE HJyk3MQM9w4TxCzlEr17woqC257TRwOWYSr2heS2qOd1EAlZP2svZwENnktrzHx+ RX8kcOdjrW/+1Z4ug3lYyKyteddB0R8jRSo7QJKrMl5bXJNdlVt/rIXdgsoxfibm tt+RqZHmOfNKf+iMbvF8Y9+A9mg0n07yK7YiBPoRlTqjJaX9T7X6MZS0k6ALneC8 b7oXq24iBUxsukxb1JlCXRsx0PdGBcGmO5mluDvqT4dESkryMxV7XyQu6esWCMUB 9eoybMCgvSiY1pk60Hhadf6AJWqltMczyrLpobcnDRbRe4MgHsYXR/rh9EAVCGMo /fr4R465pgv/F0HrdzYI =FJsZ -----END PGP SIGNATURE----- --==========7DD2883ED952AC191AB1==========--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7442044CBA8EBE7D282ECE9F>