summaryrefslogtreecommitdiff
path: root/numpy/doc/basics.py
diff options
context:
space:
mode:
authorJulian Taylor <jtaylor.debian@googlemail.com>2017-03-27 14:55:35 +0200
committerJulian Taylor <jtaylor.debian@googlemail.com>2017-03-27 15:26:09 +0200
commit1964b6a4c5ee377e6489923cbc6b2c61b013a6d5 (patch)
treefe079c7ca87cc711a8f8f4e1c0ec54b6e0786ce0 /numpy/doc/basics.py
parent1e8143cc4a1c29ec1ca3aa368363839f4d163648 (diff)
downloadnumpy-1964b6a4c5ee377e6489923cbc6b2c61b013a6d5.tar.gz
MAINT: restore auto-vectorization of inplace operations
GCC 6/7 lost the ability to vectorize inplace operations with our current hinting. This causes inplace operations to become slower than out of place operations which is bad, especially as we automatically avoid temporaries now. This issue has been filed in GCC PR80198. Luckily gcc also has a no loop dependence pragma which we can use to enforce the vectorization in the inplace code path. In the inplace scalar path an extra code hint is sufficient.
Diffstat (limited to 'numpy/doc/basics.py')
0 files changed, 0 insertions, 0 deletions