Date: Fri, 07 Oct 2016 12:17:26 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 213271] devel/marisa-trie: enable SSE2 by default for amd64 or depending on CPUTYPE Message-ID: <bug-213271-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213271 Bug ID: 213271 Summary: devel/marisa-trie: enable SSE2 by default for amd64 or depending on CPUTYPE Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: jbeich@FreeBSD.org CC: iblis@hs.ntnu.edu.tw Flags: maintainer-feedback?(iblis@hs.ntnu.edu.tw) CC: iblis@hs.ntnu.edu.tw Created attachment 175492 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D175492&action= =3Dedit v1 Defining CPUTYPE via make.conf appends -march=3D${CPUTYPE} to CFLAGS and advertises SIMD features via MACHINE_CPU to ports. -msse2 is implicit on am= d64 but marisa-trie appears to gate intrinsics based on its own configure flags. See /usr/share/mk/bsd.cpu.mk. $ clang -target i386--freebsd -dM -E -</dev/null | fgrep SSE $ clang -target x86_64--freebsd -dM -E -</dev/null | fgrep SSE #define __SSE2_MATH__ 1 #define __SSE2__ 1 #define __SSE_MATH__ 1 #define __SSE__ 1 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213271-13>