<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/libc/utils/MPFRWrapper/MPFRUtils.cpp, branch users/vitalybuka/spr/main.clangcodegen-remove-simplifycfgpass-preceding-removetrapspass</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 exp2m1f C23 math function (#86996)</title>
<updated>2024-04-04T12:22:45+00:00</updated>
<author>
<name>OverMighty</name>
<email>its.overmighty@gmail.com</email>
</author>
<published>2024-04-04T12:22:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a8c59750d911eb30d5664696db19af445dd770f8'/>
<id>a8c59750d911eb30d5664696db19af445dd770f8</id>
<content type='text'>
Fixes #86502.

cc @lntue</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #86502.

cc @lntue</pre>
</div>
</content>
</entry>
<entry>
<title>[libc][math] Implement atan2f correctly rounded to all rounding modes. (#86716)</title>
<updated>2024-04-01T17:31:07+00:00</updated>
<author>
<name>lntue</name>
<email>35648136+lntue@users.noreply.github.com</email>
</author>
<published>2024-04-01T17:31:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2be722587f5987891ed8b2904a03f983e987f226'/>
<id>2be722587f5987891ed8b2904a03f983e987f226</id>
<content type='text'>
We compute atan2f(y, x) in 2 stages:
- Fast step: perform computations in double precision , with relative
errors &lt; 2^-50
- Accurate step: if the result from the Fast step fails Ziv's rounding
test, then we perform computations in double-double precision, with
relative errors &lt; 2^-100.

On Ryzen 5900X, worst-case latency is ~ 200 clocks, compared to average
latency ~ 60 clocks, and average reciprocal throughput ~ 20 clocks.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We compute atan2f(y, x) in 2 stages:
- Fast step: perform computations in double precision , with relative
errors &lt; 2^-50
- Accurate step: if the result from the Fast step fails Ziv's rounding
test, then we perform computations in double-double precision, with
relative errors &lt; 2^-100.

On Ryzen 5900X, worst-case latency is ~ 200 clocks, compared to average
latency ~ 60 clocks, and average reciprocal throughput ~ 20 clocks.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Remove direct math.h includes (#85324)</title>
<updated>2024-03-18T21:19:33+00:00</updated>
<author>
<name>Michael Jones</name>
<email>michaelrj@google.com</email>
</author>
<published>2024-03-18T21:19:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=5d56b34807e0f6e7a6684e57bec7c1751778862c'/>
<id>5d56b34807e0f6e7a6684e57bec7c1751778862c</id>
<content type='text'>
Reland of #84991

A downstream overlay mode user ran into issues with the isnan macro not
working in our sources with a specific libc configuration. This patch
replaces the last direct includes of math.h with our internal
math_macros.h, along with the necessary build system changes.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reland of #84991

A downstream overlay mode user ran into issues with the isnan macro not
working in our sources with a specific libc configuration. This patch
replaces the last direct includes of math.h with our internal
math_macros.h, along with the necessary build system changes.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc][NFC] Remove `FPBits` cast operator (#79142)</title>
<updated>2024-01-23T16:30:19+00:00</updated>
<author>
<name>Guillaume Chatelet</name>
<email>gchatelet@google.com</email>
</author>
<published>2024-01-23T16:30:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2856db0d3b691907e055265c10f3ccc9b04f594e'/>
<id>2856db0d3b691907e055265c10f3ccc9b04f594e</id>
<content type='text'>
The semantics for casting can range from "bitcast" (same representation)
to "different representation", to "type promotion". Here we remove the
cast operator and force usage of `get_val` as the only function to get
the floating point value, making the intent clearer and more consistent.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The semantics for casting can range from "bitcast" (same representation)
to "different representation", to "type promotion". Here we remove the
cast operator and force usage of `get_val` as the only function to get
the floating point value, making the intent clearer and more consistent.</pre>
</div>
</content>
</entry>
<entry>
<title>[reland][libc] Remove unnecessary `FPBits` functions and properties (#79128)</title>
<updated>2024-01-23T12:48:03+00:00</updated>
<author>
<name>Guillaume Chatelet</name>
<email>gchatelet@google.com</email>
</author>
<published>2024-01-23T12:48:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=6b02d2f86389d68a0cf2162377c5dda05bd4b68a'/>
<id>6b02d2f86389d68a0cf2162377c5dda05bd4b68a</id>
<content type='text'>
- reland #79113
- Fix aarch64 RISC-V build</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- reland #79113
- Fix aarch64 RISC-V build</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[libc] Remove unnecessary `FPBits` functions and properties" (#79118)</title>
<updated>2024-01-23T10:51:18+00:00</updated>
<author>
<name>Guillaume Chatelet</name>
<email>gchatelet@google.com</email>
</author>
<published>2024-01-23T10:51:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b524eed9259e26b5812e2b55cc05e42fda217486'/>
<id>b524eed9259e26b5812e2b55cc05e42fda217486</id>
<content type='text'>
Reverts llvm/llvm-project#79113
It broke aarch64 build bot machines.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reverts llvm/llvm-project#79113
It broke aarch64 build bot machines.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Remove unnecessary `FPBits` functions and properties (#79113)</title>
<updated>2024-01-23T10:48:28+00:00</updated>
<author>
<name>Guillaume Chatelet</name>
<email>gchatelet@google.com</email>
</author>
<published>2024-01-23T10:48:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3bc86bf3bf742506818cf4d94c9227e4afed6f19'/>
<id>3bc86bf3bf742506818cf4d94c9227e4afed6f19</id>
<content type='text'>
This patch reduces the surface of `FPBits`.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch reduces the surface of `FPBits`.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Fix is_subnormal for Intel Extended Precision (#78592)</title>
<updated>2024-01-19T08:36:03+00:00</updated>
<author>
<name>Guillaume Chatelet</name>
<email>gchatelet@google.com</email>
</author>
<published>2024-01-19T08:36:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=14f0c06f48aca3e6f015944c88097b404005645e'/>
<id>14f0c06f48aca3e6f015944c88097b404005645e</id>
<content type='text'>
Also turn a set of `get_biased_exponent() == 0` into `is_subnormal()`
which is clearer.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also turn a set of `get_biased_exponent() == 0` into `is_subnormal()`
which is clearer.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc][NFC] Remove `FloatProperties` (#76508)</title>
<updated>2024-01-03T08:51:58+00:00</updated>
<author>
<name>Guillaume Chatelet</name>
<email>gchatelet@google.com</email>
</author>
<published>2024-01-03T08:51:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c09e6905567a6b546bb2fd9e863511a8fb939b19'/>
<id>c09e6905567a6b546bb2fd9e863511a8fb939b19</id>
<content type='text'>
Access is now done through `FPBits` exclusively.
This patch also renames a few internal structs and uses `T` instead of
`FP` as a template parameter.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Access is now done through `FPBits` exclusively.
This patch also renames a few internal structs and uses `T` instead of
`FP` as a template parameter.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc][NFC] Integrate `FloatProperties` into `FPBits` (#76506)</title>
<updated>2023-12-28T14:42:47+00:00</updated>
<author>
<name>Guillaume Chatelet</name>
<email>gchatelet@google.com</email>
</author>
<published>2023-12-28T14:42:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c23991478aa79ea1040531b3077976ae56415b24'/>
<id>c23991478aa79ea1040531b3077976ae56415b24</id>
<content type='text'>
`FloatProperties` is always included when `FPBits` is. This will help
further refactoring.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`FloatProperties` is always included when `FPBits` is. This will help
further refactoring.</pre>
</div>
</content>
</entry>
</feed>
