[Numpy-svn] [numpy/numpy] 987146: BUG: Revert "ENH: enable unaligned loads on x86"

GitHub noreply at github.com
Sat Jun 15 18:39:41 EDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 9871460decba504013e68a16313efe052f3cb679
      https://github.com/numpy/numpy/commit/9871460decba504013e68a16313efe052f3cb679
  Author: Julian Taylor <jtaylor.debian at googlemail.com>
  Date:   2013-06-15 (Sat, 15 Jun 2013)

  Changed paths:
    M numpy/core/src/multiarray/lowlevel_strided_loops.c.src

  Log Message:
  -----------
  BUG: Revert "ENH: enable unaligned loads on x86"

This reverts commit aef286debfd11a62f1c337dea55624cee7fd4d9e.
x86 platform works with unaligned access but the compiler is allowed to assume
all data is aligned to its size by the C standard. This means it can vectorize
instructions peeling only by the size of the type, if the data is not aligned
to this size one ends up with data not correctly aligned for SSE instructions
(16 byte).
So this flag can only be enabled if autovectorization is disabled.


  Commit: 7dc65761e66913aa34cc8afee052e89cc983fd4e
      https://github.com/numpy/numpy/commit/7dc65761e66913aa34cc8afee052e89cc983fd4e
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2013-06-15 (Sat, 15 Jun 2013)

  Changed paths:
    M numpy/core/src/multiarray/lowlevel_strided_loops.c.src

  Log Message:
  -----------
  Merge pull request #3445 from juliantaylor/revert-x86-unaligned-access

BUG: Revert "ENH: enable unaligned loads on x86"


Compare: https://github.com/numpy/numpy/compare/e036deb49b74...7dc65761e669


More information about the Numpy-svn mailing list