[Numpy-discussion] Caution about using intrisincs, and other 'advanced' optimizations

Charles R Harris charlesr.harris at gmail.com
Mon Nov 11 21:28:26 EST 2013


On Mon, Nov 11, 2013 at 7:17 PM, David Cournapeau <cournape at gmail.com>wrote:

> Hi there,
>
> I have noticed more and more subtle and hard to track serious bugs in
> numpy and scipy, due to the use of advanced optimization features (flags,
> or gcc intrinsics).
>
> I am wondering whether those are worth it: they compile wrongly under
> quite a few configurations, and it is not always obvious to find the cause
> (case in point: gcc 4.4 with numpy 1.8.0 causes infinite loop in
> scipy.stats, which disappear if I disable the intrinsics in
> numpy/npy_config.h). Maybe they should be disabled by default, and only
> built in if required ? Do we know for sure they bring significant
> improvements ?
>
> While gcc 4.4 is not the most recent compiler, it is not ancient either,
>
>
What happens with more recent gcc?

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20131111/9580b130/attachment.html>


More information about the NumPy-Discussion mailing list