<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/libc/benchmarks, branch users/nico/python-1</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[libc][NFC] Strip all training whitespace and missing newlines (#124163)</title>
<updated>2025-01-23T18:02:54+00:00</updated>
<author>
<name>Joseph Huber</name>
<email>huberjn@outlook.com</email>
</author>
<published>2025-01-23T18:02:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=db6b7a84e6e4949569e756f46357d9f54ad16a03'/>
<id>db6b7a84e6e4949569e756f46357d9f54ad16a03</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] move bcmp, bzero, bcopy, index, rindex, strcasecmp, strncasecmp to strings.h (#118899)</title>
<updated>2024-12-10T16:58:45+00:00</updated>
<author>
<name>Nick Desaulniers</name>
<email>nickdesaulniers@users.noreply.github.com</email>
</author>
<published>2024-12-10T16:58:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=431ea2d076f8a5ca35b2c293dd5d62f5ce083f45'/>
<id>431ea2d076f8a5ca35b2c293dd5d62f5ce083f45</id>
<content type='text'>
docgen relies on the convention that we have a file foo.cpp in
libc/src/\&lt;header\&gt;/. Because the above functions weren't in libc/src/strings/
but rather libc/src/string/, docgen could not find that we had implemented
these.

Rather than add special carve outs to docgen, let's fix up our sources for
these 7 functions to stick with the existing conventions the rest of the
codebase follows.

Link: #118860
Fixes: #118875
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
docgen relies on the convention that we have a file foo.cpp in
libc/src/\&lt;header\&gt;/. Because the above functions weren't in libc/src/strings/
but rather libc/src/string/, docgen could not find that we had implemented
these.

Rather than add special carve outs to docgen, let's fix up our sources for
these 7 functions to stick with the existing conventions the rest of the
codebase follows.

Link: #118860
Fixes: #118875
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Remove automemcpy folder (#118781)</title>
<updated>2024-12-06T08:30:13+00:00</updated>
<author>
<name>Guillaume Chatelet</name>
<email>gchatelet@google.com</email>
</author>
<published>2024-12-06T08:30:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=487396864975fe03ce67bef934b0a4544921259f'/>
<id>487396864975fe03ce67bef934b0a4544921259f</id>
<content type='text'>
The build is currently broken and we don't have the resources to keep it
up to date :-/</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The build is currently broken and we don't have the resources to keep it
up to date :-/</pre>
</div>
</content>
</entry>
<entry>
<title>Fix build issues with libc mem* benchmarks (#115982)</title>
<updated>2024-11-14T19:10:11+00:00</updated>
<author>
<name>David Peixotto</name>
<email>peix@meta.com</email>
</author>
<published>2024-11-14T19:10:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=081a80f2b56763422183542ad10b5a6b0814312e'/>
<id>081a80f2b56763422183542ad10b5a6b0814312e</id>
<content type='text'>
Fix a few issues found when trying to build the benchmark:

Errors

1. Unable to find include "src/__support/macros/config.h" in
LibcMemoryBenchmarkMain.cpp

Warnings

2. Unused variable warning `Index` in MemorySizeDistributions.cpp
3. Fix deprecation warning for const-ref version of `DoNotOptimize`.
warning: 'DoNotOptimize&lt;void *&gt;' is deprecated: The const-ref version of
this method can permit undesired compiler optimizations in benchmarks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix a few issues found when trying to build the benchmark:

Errors

1. Unable to find include "src/__support/macros/config.h" in
LibcMemoryBenchmarkMain.cpp

Warnings

2. Unused variable warning `Index` in MemorySizeDistributions.cpp
3. Fix deprecation warning for const-ref version of `DoNotOptimize`.
warning: 'DoNotOptimize&lt;void *&gt;' is deprecated: The const-ref version of
this method can permit undesired compiler optimizations in benchmarks
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc][benchmarks] Tidy uses of raw_string_ostream (NFC)</title>
<updated>2024-09-17T15:25:18+00:00</updated>
<author>
<name>Youngsuk Kim</name>
<email>youngsuk.kim@hpe.com</email>
</author>
<published>2024-09-17T15:24:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c3d78a7af8e74c588501a2555b4a4ed7bdc55ef5'/>
<id>c3d78a7af8e74c588501a2555b4a4ed7bdc55ef5</id>
<content type='text'>
As specified in the docs,
1) raw_string_ostream is always unbuffered and
2) the underlying buffer may be used directly

( 65b13610a5226b84889b923bae884ba395ad084d for further reference )

Avoid unneeded calls to raw_string_ostream::str(), to avoid excess indirection.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As specified in the docs,
1) raw_string_ostream is always unbuffered and
2) the underlying buffer may be used directly

( 65b13610a5226b84889b923bae884ba395ad084d for further reference )

Avoid unneeded calls to raw_string_ostream::str(), to avoid excess indirection.
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc][gpu] Add Atan2 Benchmarks (#104708)</title>
<updated>2024-08-18T17:50:30+00:00</updated>
<author>
<name>jameshu15869</name>
<email>55058507+jameshu15869@users.noreply.github.com</email>
</author>
<published>2024-08-18T17:50:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=deb6b45c32687275a6d4e24326ffc9700f8ae52c'/>
<id>deb6b45c32687275a6d4e24326ffc9700f8ae52c</id>
<content type='text'>
This PR adds benchmarking for `atan2()`, `__nv_atan2()`, and
`__ocml_atan2_f64()` using the same setup as `sin()`. This PR also adds
support for throughout bencmarking for functions with 2 inputs.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This PR adds benchmarking for `atan2()`, `__nv_atan2()`, and
`__ocml_atan2_f64()` using the same setup as `sin()`. This PR also adds
support for throughout bencmarking for functions with 2 inputs.</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "libc: Remove `extern "C"` from main declarations" (#102827)</title>
<updated>2024-08-11T20:40:50+00:00</updated>
<author>
<name>Schrodinger ZHU Yifan</name>
<email>yifanzhu@rochester.edu</email>
</author>
<published>2024-08-11T20:40:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b7c7dbd473c0857d0d86b228e45ce5a0a68a1a1b'/>
<id>b7c7dbd473c0857d0d86b228e45ce5a0a68a1a1b</id>
<content type='text'>
Reverts llvm/llvm-project#102825</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reverts llvm/llvm-project#102825</pre>
</div>
</content>
</entry>
<entry>
<title>libc: Remove `extern "C"` from main declarations (#102825)</title>
<updated>2024-08-11T20:17:27+00:00</updated>
<author>
<name>David Blaikie</name>
<email>dblaikie@gmail.com</email>
</author>
<published>2024-08-11T20:17:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=1b71c471c7d0216fa7fc5c0b45b5926d1fabfaf4'/>
<id>1b71c471c7d0216fa7fc5c0b45b5926d1fabfaf4</id>
<content type='text'>
This is invalid in C++, and clang recently started warning on it as of
#101853</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is invalid in C++, and clang recently started warning on it as of
#101853</pre>
</div>
</content>
</entry>
<entry>
<title>[libc][gpu] Add Sinf Benchmarks (#102532)</title>
<updated>2024-08-08T21:26:26+00:00</updated>
<author>
<name>jameshu15869</name>
<email>55058507+jameshu15869@users.noreply.github.com</email>
</author>
<published>2024-08-08T21:26:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2b592b16c17e5c4fc135534d80d7c61a986a292c'/>
<id>2b592b16c17e5c4fc135534d80d7c61a986a292c</id>
<content type='text'>
This PR adds benchmarking for `sinf()` using the same set up as `sin()`
but with a smaller range for floats.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This PR adds benchmarking for `sinf()` using the same set up as `sin()`
but with a smaller range for floats.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] [gpu] Fix Minor Benchmark UI Issues (#102529)</title>
<updated>2024-08-08T20:32:20+00:00</updated>
<author>
<name>jameshu15869</name>
<email>55058507+jameshu15869@users.noreply.github.com</email>
</author>
<published>2024-08-08T20:32:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=1248698e9bb2a0232eee53a72679ed5077190a90'/>
<id>1248698e9bb2a0232eee53a72679ed5077190a90</id>
<content type='text'>
Previously, `AmdgpuSinTwoPow_128` and others were too large for their
table cells. This PR shortens the name to `AmdSin...`

There were also some `-` missing in the separator. This PR instead
creates the separator string using the length of the headers.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, `AmdgpuSinTwoPow_128` and others were too large for their
table cells. This PR shortens the name to `AmdSin...`

There were also some `-` missing in the separator. This PR instead
creates the separator string using the length of the headers.</pre>
</div>
</content>
</entry>
</feed>
