[Numpy-svn] [numpy/numpy] c82281: ENH: use intrinsics for isnan, isfinite and isinf

GitHub noreply at github.com
Wed May 15 11:34:00 EDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: c8228126ac0a00e058fb5a2c6106184b03d3fbb0
      https://github.com/numpy/numpy/commit/c8228126ac0a00e058fb5a2c6106184b03d3fbb0
  Author: Julian Taylor <jtaylor.debian at googlemail.com>
  Date:   2013-05-06 (Mon, 06 May 2013)

  Changed paths:
    M numpy/core/include/numpy/npy_math.h

  Log Message:
  -----------
  ENH: use intrinsics for isnan, isfinite and isinf

Use of intrinsics avoids expensive function calls in tight loops on x86
cpus where these operations are implemented in hardware while still
retaining same portability.
More than doubles performance of np.isnan/isinf/isfinite.


  Commit: b0ef6aebcbedc2ea528c5f8d09f31f37320b08a2
      https://github.com/numpy/numpy/commit/b0ef6aebcbedc2ea528c5f8d09f31f37320b08a2
  Author: Julian Taylor <jtaylor.debian at googlemail.com>
  Date:   2013-05-07 (Tue, 07 May 2013)

  Changed paths:
    M numpy/core/include/numpy/npy_math.h
    M numpy/core/setup.py
    M numpy/core/setup_common.py

  Log Message:
  -----------
  MAINT: check for intrinsics at configure time


  Commit: b114d1e0326937e5d04907ea0f666429580dc806
      https://github.com/numpy/numpy/commit/b114d1e0326937e5d04907ea0f666429580dc806
  Author: Julian Taylor <jtaylor.debian at googlemail.com>
  Date:   2013-05-09 (Thu, 09 May 2013)

  Changed paths:
    M numpy/distutils/misc_util.py

  Log Message:
  -----------
  ENH: add possibility to add define_macros to extensions


  Commit: 509bc25b4f71f9ffaf259b08b259d0e8aef2129a
      https://github.com/numpy/numpy/commit/509bc25b4f71f9ffaf259b08b259d0e8aef2129a
  Author: Julian Taylor <jtaylor.debian at googlemail.com>
  Date:   2013-05-09 (Thu, 09 May 2013)

  Changed paths:
    M numpy/core/include/numpy/npy_math.h
    M numpy/core/setup.py

  Log Message:
  -----------
  MAINT: mask npy_config.h include with HAVE_NPY_CONFIG_H


  Commit: 3e2069003cd671cd5c4798d28a63c23b1dd7137e
      https://github.com/numpy/numpy/commit/3e2069003cd671cd5c4798d28a63c23b1dd7137e
  Author: Julian Taylor <jtaylor.debian at googlemail.com>
  Date:   2013-05-09 (Thu, 09 May 2013)

  Changed paths:
    M numpy/core/include/numpy/npy_math.h

  Log Message:
  -----------
  MAINT: document intrinsic macro guards


  Commit: ecdad497085880e18026e88d3f06c5a0feab2f39
      https://github.com/numpy/numpy/commit/ecdad497085880e18026e88d3f06c5a0feab2f39
  Author: Julian Taylor <jtaylor.debian at googlemail.com>
  Date:   2013-05-09 (Thu, 09 May 2013)

  Changed paths:
    M numpy/core/setup_common.py

  Log Message:
  -----------
  MAINT: document why OPTIONAL_INTRINSICS needs arguments


  Commit: 0337cf2f8cf555912dd39a2767a0f7f9e6398257
      https://github.com/numpy/numpy/commit/0337cf2f8cf555912dd39a2767a0f7f9e6398257
  Author: njsmith <njs at pobox.com>
  Date:   2013-05-15 (Wed, 15 May 2013)

  Changed paths:
    M numpy/core/include/numpy/npy_math.h
    M numpy/core/setup.py
    M numpy/core/setup_common.py
    M numpy/distutils/misc_util.py

  Log Message:
  -----------
  Merge pull request #3308 from juliantaylor/optimize-isnan

ENH: use intrinsics for isnan, isfinite and isinf


Compare: https://github.com/numpy/numpy/compare/c546a22219a2...0337cf2f8cf5


More information about the Numpy-svn mailing list