<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/pymath.c, branch Mariatta-patch-2</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/'/>
<entry>
<title>bpo-29782: Consolidate _Py_Bit_Length() (GH-20739)</title>
<updated>2020-06-15T12:33:48+00:00</updated>
<author>
<name>Niklas Fiekas</name>
<email>niklas.fiekas@backscattering.de</email>
</author>
<published>2020-06-15T12:33:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=794e7d1ab2d7afe70fe0dd87ca8174ac860413e4'/>
<id>794e7d1ab2d7afe70fe0dd87ca8174ac860413e4</id>
<content type='text'>
In GH-2866, _Py_Bit_Length() was added to pymath.h for lack of a better
location. GH-20518 added a more appropriate header file for bit utilities. It
also shows how to properly use intrinsics. This allows reconsidering bpo-29782.

* Move the function to the new header.
* Changed return type to match __builtin_clzl() and reviewed usage.
* Use intrinsics where available.
* Pick a fallback implementation suitable for inlining.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In GH-2866, _Py_Bit_Length() was added to pymath.h for lack of a better
location. GH-20518 added a more appropriate header file for bit utilities. It
also shows how to properly use intrinsics. This allows reconsidering bpo-29782.

* Move the function to the new header.
* Changed return type to match __builtin_clzl() and reviewed usage.
* Use intrinsics where available.
* Pick a fallback implementation suitable for inlining.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31031: Unify duplicate bits_in_digit and bit_length (GH-2866)</title>
<updated>2020-01-16T14:09:19+00:00</updated>
<author>
<name>Niklas Fiekas</name>
<email>niklas.fiekas@backscattering.de</email>
</author>
<published>2020-01-16T14:09:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=c5b79003f5fe6aa28a2a028680367839ba8677db'/>
<id>c5b79003f5fe6aa28a2a028680367839ba8677db</id>
<content type='text'>
Add _Py_bit_length() to unify duplicate bits_in_digit() and bit_length().</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add _Py_bit_length() to unify duplicate bits_in_digit() and bit_length().</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35214: Add _Py_ prefix to MEMORY_SANITIZER def. (GH-10503)</title>
<updated>2018-11-13T06:01:22+00:00</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@krypto.org</email>
</author>
<published>2018-11-13T06:01:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=3015fb8ce4d25603434b9b44bb7effb98a481532'/>
<id>3015fb8ce4d25603434b9b44bb7effb98a481532</id>
<content type='text'>
Rename our new MEMORY_SANITIZER define to _Py_MEMORY_SANITIZER.
Project based C Preprocessor namespacing at its finest. :P</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rename our new MEMORY_SANITIZER define to _Py_MEMORY_SANITIZER.
Project based C Preprocessor namespacing at its finest. :P</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35214: Initial clang MemorySanitizer support (GH-10479)</title>
<updated>2018-11-12T20:07:14+00:00</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@krypto.org</email>
</author>
<published>2018-11-12T20:07:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=1584a0081500d35dc93ff88e5836df35faf3e3e2'/>
<id>1584a0081500d35dc93ff88e5836df35faf3e3e2</id>
<content type='text'>
Adds configure flags for msan and ubsan builds to make it easier to enable.
These also encode the detail that address sanitizer and memory sanitizer
should disable pymalloc.

Define MEMORY_SANITIZER when appropriate at build time and adds workarounds
to existing code to mark things as initialized where the sanitizer is otherwise unable to
determine that.  This lets our build succeed under the memory sanitizer.  not all tests
pass without sanitizer failures yet but we're in pretty good shape after this.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds configure flags for msan and ubsan builds to make it easier to enable.
These also encode the detail that address sanitizer and memory sanitizer
should disable pymalloc.

Define MEMORY_SANITIZER when appropriate at build time and adds workarounds
to existing code to mark things as initialized where the sanitizer is otherwise unable to
determine that.  This lets our build succeed under the memory sanitizer.  not all tests
pass without sanitizer failures yet but we're in pretty good shape after this.</pre>
</div>
</content>
</entry>
<entry>
<title>Issue 24366: Indent code (thanks to li4ick for reporting).</title>
<updated>2015-06-02T22:53:46+00:00</updated>
<author>
<name>Yury Selivanov</name>
<email>yselivanov@sprymix.com</email>
</author>
<published>2015-06-02T22:53:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=614bfcc953141cfdd38606f87a09d39f17367fa3'/>
<id>614bfcc953141cfdd38606f87a09d39f17367fa3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Recorded merge of revisions 81029 via svnmerge from</title>
<updated>2010-05-09T15:52:27+00:00</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2010-05-09T15:52:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=f95a1b3c53bdd678b64aa608d4375660033460c3'/>
<id>f95a1b3c53bdd678b64aa608d4375660033460c3</id>
<content type='text'>
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines

  Untabify C files. Will watch buildbots.
........
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines

  Untabify C files. Will watch buildbots.
........
</pre>
</div>
</content>
</entry>
<entry>
<title>Merged revisions 76978 via svnmerge from</title>
<updated>2009-12-21T15:27:41+00:00</updated>
<author>
<name>Mark Dickinson</name>
<email>dickinsm@gmail.com</email>
</author>
<published>2009-12-21T15:27:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=f371859a4f0705062e94798e21ebe3705d891a37'/>
<id>f371859a4f0705062e94798e21ebe3705d891a37</id>
<content type='text'>
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76978 | mark.dickinson | 2009-12-21 15:22:00 +0000 (Mon, 21 Dec 2009) | 3 lines

  Issue #7518:  Move substitute definitions of C99 math functions from
  pymath.c to Modules/_math.c.
........
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76978 | mark.dickinson | 2009-12-21 15:22:00 +0000 (Mon, 21 Dec 2009) | 3 lines

  Issue #7518:  Move substitute definitions of C99 math functions from
  pymath.c to Modules/_math.c.
........
</pre>
</div>
</content>
</entry>
<entry>
<title>The SSE2 detection and enabling could potentially cause</title>
<updated>2009-04-18T20:17:52+00:00</updated>
<author>
<name>Mark Dickinson</name>
<email>dickinsm@gmail.com</email>
</author>
<published>2009-04-18T20:17:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=7abf8d4066e9b4dd21f9a498427ac1ec8914c0ab'/>
<id>7abf8d4066e9b4dd21f9a498427ac1ec8914c0ab</id>
<content type='text'>
problems for binary distributions of Python in situations
where the build machine has SSE2 but the target machine
does not.

Therefore, don't enable SSE2 instructions automatically on x86.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
problems for binary distributions of Python in situations
where the build machine has SSE2 but the target machine
does not.

Therefore, don't enable SSE2 instructions automatically on x86.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merged revisions 71705 via svnmerge from</title>
<updated>2009-04-18T14:14:48+00:00</updated>
<author>
<name>Mark Dickinson</name>
<email>dickinsm@gmail.com</email>
</author>
<published>2009-04-18T14:14:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=23b6286e8fbaac3729f05b393fd0d129336563ee'/>
<id>23b6286e8fbaac3729f05b393fd0d129336563ee</id>
<content type='text'>
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71705 | mark.dickinson | 2009-04-18 15:13:43 +0100 (Sat, 18 Apr 2009) | 2 lines

  copysign shouldn't be declared as static in pymath.c
........
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71705 | mark.dickinson | 2009-04-18 15:13:43 +0100 (Sat, 18 Apr 2009) | 2 lines

  copysign shouldn't be declared as static in pymath.c
........
</pre>
</div>
</content>
</entry>
<entry>
<title>Add check for C99 round function to configure, and define</title>
<updated>2009-04-18T13:58:18+00:00</updated>
<author>
<name>Mark Dickinson</name>
<email>dickinsm@gmail.com</email>
</author>
<published>2009-04-18T13:58:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=f253786a807967c2a7f289fa294b66d5dffadcdd'/>
<id>f253786a807967c2a7f289fa294b66d5dffadcdd</id>
<content type='text'>
a fallback function if round doesn't exist.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
a fallback function if round doesn't exist.
</pre>
</div>
</content>
</entry>
</feed>
