[Bug 213271] devel/marisa-trie: enable SSE2 by default for amd64 or depending on CPUTYPE

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Oct 7 12:17:27 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213271

            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 at FreeBSD.org
          Reporter: jbeich at FreeBSD.org
                CC: iblis at hs.ntnu.edu.tw
             Flags: maintainer-feedback?(iblis at hs.ntnu.edu.tw)
                CC: iblis at hs.ntnu.edu.tw

Created attachment 175492
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=175492&action=edit
v1

Defining CPUTYPE via make.conf appends -march=${CPUTYPE} to CFLAGS and
advertises SIMD features via MACHINE_CPU to ports. -msse2 is implicit on amd64
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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list