<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/libc/utils, branch users/nico/python-2</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][math][c23] Add acospif16() function (#134664)</title>
<updated>2025-04-24T22:03:24+00:00</updated>
<author>
<name>Anton</name>
<email>44649959+amemov@users.noreply.github.com</email>
</author>
<published>2025-04-24T22:03:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=851f7c74213e8497afb2b2a3b7facb9faedf9f5f'/>
<id>851f7c74213e8497afb2b2a3b7facb9faedf9f5f</id>
<content type='text'>
Addresses #132211  #132754
Part of #95250</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Addresses #132211  #132754
Part of #95250</pre>
</div>
</content>
</entry>
<entry>
<title>[libc][math][c23] Add fmaf16 C23 math function. (#130757)</title>
<updated>2025-03-23T02:48:56+00:00</updated>
<author>
<name>Harrison Hao</name>
<email>57025411+harrisonGPU@users.noreply.github.com</email>
</author>
<published>2025-03-23T02:48:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=445837a3630520e9292b84b6b8dc0f86d2eccbae'/>
<id>445837a3630520e9292b84b6b8dc0f86d2eccbae</id>
<content type='text'>
Implementation of fmaf16 function for 16-bit inputs.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implementation of fmaf16 function for 16-bit inputs.</pre>
</div>
</content>
</entry>
<entry>
<title>Reapply "[LLVM] Make the GPU loader utilities an LLVM tool (#132096)" (#132277)</title>
<updated>2025-03-21T16:05:32+00:00</updated>
<author>
<name>Joseph Huber</name>
<email>huberjn@outlook.com</email>
</author>
<published>2025-03-21T16:05:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=bd6df0fe21faeaf3fd2a8ad17074f10620c78378'/>
<id>bd6df0fe21faeaf3fd2a8ad17074f10620c78378</id>
<content type='text'>
Summary:
There were a few issues with the first one, leading to some errors and
warnings. Most importantly, this was building on MSVC which isn't
supported.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
There were a few issues with the first one, leading to some errors and
warnings. Most importantly, this was building on MSVC which isn't
supported.</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[LLVM] Make the GPU loader utilities an LLVM tool (#132096)"</title>
<updated>2025-03-20T19:26:59+00:00</updated>
<author>
<name>Joseph Huber</name>
<email>huberjn@outlook.com</email>
</author>
<published>2025-03-20T19:26:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=df2a56767d7eeb09413e38737d598db749d1bc6d'/>
<id>df2a56767d7eeb09413e38737d598db749d1bc6d</id>
<content type='text'>
This reverts commit 221b0117fd21d45098ead779a040a4b939a5c84f.

Some build failures requiring TargetParser and some warnings to clean
up.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 221b0117fd21d45098ead779a040a4b939a5c84f.

Some build failures requiring TargetParser and some warnings to clean
up.
</pre>
</div>
</content>
</entry>
<entry>
<title>[LLVM] Make the GPU loader utilities an LLVM tool (#132096)</title>
<updated>2025-03-20T19:17:41+00:00</updated>
<author>
<name>Joseph Huber</name>
<email>huberjn@outlook.com</email>
</author>
<published>2025-03-20T19:17:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=221b0117fd21d45098ead779a040a4b939a5c84f'/>
<id>221b0117fd21d45098ead779a040a4b939a5c84f</id>
<content type='text'>
Summary:
These tools `amdhsa-loader` and `nvptx-loader` are used to execute unit
tests directly on the GPU. We use this for `libc` and `libcxx` unit
tests as well as general GPU experimentation. It looks like this.

```console
&gt; clang++ main.cpp --target=amdgcn-amd-amdhsa -mcpu=native -flto -lc ./lib/amdgcn-amd-amdhsa/crt1.o
&gt; llvm-gpu-loader a.out
Hello World!
```

Currently these are a part of the `libc` project, but this creates
issues as `libc` itself depends on them to run tests. Right now we get
around this by force-including the `libc` project prior to running the
runtimes build so that this dependency can be built first. We should
instead just make this a simple LLVM tool so it's always available.

This has the effect of installing these by default now instead of just
when `libc` was enabled, but they should be relatively small. Right now
this only supports a 'static' configuration. That is, we locate the CUDA
and HSA dependencies at LLVM compile time. In the future we should be
able to provide this by default using `dlopen` and some API.

I don't know if it's required to reformat all of these names since they
used the `libc` naming convention so I just left it for now.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
These tools `amdhsa-loader` and `nvptx-loader` are used to execute unit
tests directly on the GPU. We use this for `libc` and `libcxx` unit
tests as well as general GPU experimentation. It looks like this.

```console
&gt; clang++ main.cpp --target=amdgcn-amd-amdhsa -mcpu=native -flto -lc ./lib/amdgcn-amd-amdhsa/crt1.o
&gt; llvm-gpu-loader a.out
Hello World!
```

Currently these are a part of the `libc` project, but this creates
issues as `libc` itself depends on them to run tests. Right now we get
around this by force-including the `libc` project prior to running the
runtimes build so that this dependency can be built first. We should
instead just make this a simple LLVM tool so it's always available.

This has the effect of installing these by default now instead of just
when `libc` was enabled, but they should be relatively small. Right now
this only supports a 'static' configuration. That is, we locate the CUDA
and HSA dependencies at LLVM compile time. In the future we should be
able to provide this by default using `dlopen` and some API.

I don't know if it's required to reformat all of these names since they
used the `libc` naming convention so I just left it for now.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc][docs] Add dirent implementation status doc and include in CMakeLists (#132151)</title>
<updated>2025-03-20T15:08:44+00:00</updated>
<author>
<name>Prashanth</name>
<email>TheStarOne01@proton.me</email>
</author>
<published>2025-03-20T15:08:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7063419460d1e8cef9017aa51a61fb95669cf85f'/>
<id>7063419460d1e8cef9017aa51a61fb95669cf85f</id>
<content type='text'>
These changes tracks `dirent.h` for the implementation status of
functions and macros, with respect to the issue (
https://github.com/llvm/llvm-project/issues/122006 ).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These changes tracks `dirent.h` for the implementation status of
functions and macros, with respect to the issue (
https://github.com/llvm/llvm-project/issues/122006 ).</pre>
</div>
</content>
</entry>
<entry>
<title>[libc][docs] Add sys/utsname header and documentation for uname function (#131817)</title>
<updated>2025-03-18T20:22:01+00:00</updated>
<author>
<name>Prashanth</name>
<email>TheStarOne01@proton.me</email>
</author>
<published>2025-03-18T20:22:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=592a3ba125e9ff6fccc71084e325c02119523869'/>
<id>592a3ba125e9ff6fccc71084e325c02119523869</id>
<content type='text'>
These changes tracks `utsname.h` for the implementation status of
functions and macros, with respect to the issue (
https://github.com/llvm/llvm-project/issues/122006 ).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These changes tracks `utsname.h` for the implementation status of
functions and macros, with respect to the issue (
https://github.com/llvm/llvm-project/issues/122006 ).</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Define (stub) dl_iterate_phdr (#131436)</title>
<updated>2025-03-18T18:38:33+00:00</updated>
<author>
<name>Roland McGrath</name>
<email>mcgrathr@google.com</email>
</author>
<published>2025-03-18T18:38:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=123c0040d4e6565091f20c4d6483ae76f1d8f57c'/>
<id>123c0040d4e6565091f20c4d6483ae76f1d8f57c</id>
<content type='text'>
This fleshes out the &lt;link.h&gt; a little more, including the
`struct dl_phdr_info` type and declaring the dl_iterate_phdr
function.  There is only a no-op implementation without tests, as
for the existing dlfcn functions.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fleshes out the &lt;link.h&gt; a little more, including the
`struct dl_phdr_info` type and declaring the dl_iterate_phdr
function.  There is only a no-op implementation without tests, as
for the existing dlfcn functions.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Fix compile error in MPFRWrapper when float128 is long double (#131821)</title>
<updated>2025-03-18T16:12:44+00:00</updated>
<author>
<name>OverMighty</name>
<email>its.overmighty@gmail.com</email>
</author>
<published>2025-03-18T16:12:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3d083777efd1649d156a8e6da77022f801cc70f5'/>
<id>3d083777efd1649d156a8e6da77022f801cc70f5</id>
<content type='text'>
See https://lab.llvm.org/buildbot/#/builders/104/builds/18422.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See https://lab.llvm.org/buildbot/#/builders/104/builds/18422.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc][math] Fix incorrect logic in fputil::generic::add_or_sub (#116129)</title>
<updated>2025-03-18T14:04:18+00:00</updated>
<author>
<name>OverMighty</name>
<email>its.overmighty@gmail.com</email>
</author>
<published>2025-03-18T14:04:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=1bb8b656a9dcdae3863508b8f33bd713e953636d'/>
<id>1bb8b656a9dcdae3863508b8f33bd713e953636d</id>
<content type='text'>
Fixes incorrect logic that went unnoticed until the function was tested
with output and input types that have the same underlying floating-point
format.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes incorrect logic that went unnoticed until the function was tested
with output and input types that have the same underlying floating-point
format.</pre>
</div>
</content>
</entry>
</feed>
