[MacPorts] #38271: gsl @1.15_2: AVX should be disabled for variant +optimize
MacPorts
noreply at macports.org
Tue Aug 20 00:42:36 PDT 2013
#38271: gsl @1.15_2: AVX should be disabled for variant +optimize
-----------------------------+----------------------
Reporter: dtakahashi42@… | Owner: jochen@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Resolution: | Keywords: haspatch
Port: gsl |
-----------------------------+----------------------
Comment (by dtakahashi42@…):
The llvm <= 3.2 has a vectorizer bug, which potentially breaks all
functions that uses datatype based on {{{long long double}}}, e.g.,
gsl_block_long_double (only AVX capable machines would be affected,
otherwise the compiler may think the transform is costly, see
http://llvm.org/bugs/show_bug.cgi?id=15758).
The fix is included in llvm-3.3 but not backported to the earlier
versions, and also I had experienced inconsistent result from
developmental version of llvm-3.3 that caused by, maybe, another bug.
So, I decided that still it is better to wait for the maturation of llvm,
and I removed a variant for compiling llvm-3.2 (but it is still possible
by using the apple's default compiler).
And could you please remove the default variant from the patch? Hopefully,
the llvm-3.2 does not vectorize the code by default, and I misunderstand
the combination effect of variant conflict and default variant. I updated
the patch.
--
Ticket URL: <https://trac.macports.org/ticket/38271#comment:12>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list