<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_codegen_cranelift/src/intrinsics, branch 1.78.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.78.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.78.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-03-08T20:41:29+00:00</updated>
<entry>
<title>Merge commit '54cbb6e7531f95e086d5c3dd0d5e73bfbe3545ba' into sync_cg_clif-2024-03-08</title>
<updated>2024-03-08T20:41:29+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2024-03-08T20:41:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8fb8b087164e8271240f3114984fa53151e282fb'/>
<id>urn:sha1:8fb8b087164e8271240f3114984fa53151e282fb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a scheme for moving away from `extern "rust-intrinsic"` entirely</title>
<updated>2024-03-04T16:13:50+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2024-02-19T17:35:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1e57df19697fd4f7f1e9dfd24ccfb00051c25bda'/>
<id>urn:sha1:1e57df19697fd4f7f1e9dfd24ccfb00051c25bda</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rename 'try' intrinsic to 'catch_unwind'</title>
<updated>2024-02-26T10:10:18+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2024-02-25T17:51:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b4ca582b8986c36d23726dc292c41b06fe7f9c6b'/>
<id>urn:sha1:b4ca582b8986c36d23726dc292c41b06fe7f9c6b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove simd_reduce_{min,max}_nanless</title>
<updated>2024-02-21T19:50:47+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2024-02-18T08:36:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=07b62409478d810b723bf9bf2a471e78c8421d0d'/>
<id>urn:sha1:07b62409478d810b723bf9bf2a471e78c8421d0d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add "algebraic" versions of the fast-math intrinsics</title>
<updated>2024-02-20T17:39:03+00:00</updated>
<author>
<name>Ben Kimock</name>
<email>kimockb@gmail.com</email>
</author>
<published>2024-02-06T19:32:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cc73b71e8e568c6421a23fc2954a86e1947aac66'/>
<id>urn:sha1:cc73b71e8e568c6421a23fc2954a86e1947aac66</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Give const_deallocate a default body</title>
<updated>2024-02-12T17:52:05+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2024-01-31T20:51:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6b73fe2d0977f9b1a98242b8ecf359c7804640e4'/>
<id>urn:sha1:6b73fe2d0977f9b1a98242b8ecf359c7804640e4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Teach llvm backend how to fall back to default bodies</title>
<updated>2024-02-12T17:50:39+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2024-01-31T20:39:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9a0743747f3b587ff0b4ba06bf51d3a079f37e50'/>
<id>urn:sha1:9a0743747f3b587ff0b4ba06bf51d3a079f37e50</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add intrinsic body fallback to cranelift and use it</title>
<updated>2024-02-12T17:44:55+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2024-01-31T14:29:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8549c0a3e6b39b31f29f308d3b33744aaefa4080'/>
<id>urn:sha1:8549c0a3e6b39b31f29f308d3b33744aaefa4080</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge commit '3e50cf65025f96854d6597e80449b0d64ad89589' into sync_cg_clif-2024-01-26</title>
<updated>2024-01-26T18:33:45+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2024-01-26T18:33:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=37018026f0a4b119778e07d6a44b149de8dcfd0c'/>
<id>urn:sha1:37018026f0a4b119778e07d6a44b149de8dcfd0c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #119911 - NCGThompson:is-statically-known, r=oli-obk</title>
<updated>2024-01-25T05:16:53+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2024-01-25T05:16:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=039d887928361df98ca530471b609378be93983a'/>
<id>urn:sha1:039d887928361df98ca530471b609378be93983a</id>
<content type='text'>
Replacement of #114390: Add new intrinsic `is_var_statically_known` and optimize pow for powers of two

This adds a new intrinsic `is_val_statically_known` that lowers to [``@llvm.is.constant.*`](https://llvm.org/docs/LangRef.html#llvm-is-constant-intrinsic).` It also applies the intrinsic in the int_pow methods to recognize and optimize the idiom `2isize.pow(x)`. See #114390 for more discussion.

While I have extended the scope of the power of two optimization from #114390, I haven't added any new uses for the intrinsic. That can be done in later pull requests.

Note: When testing or using the library, be sure to use `--stage 1` or higher. Otherwise, the intrinsic will be a noop and the doctests will be skipped. If you are trying out edits, you may be interested in [`--keep-stage 0`](https://rustc-dev-guide.rust-lang.org/building/suggested.html#faster-builds-with---keep-stage).

Fixes #47234
Resolves #114390
`@Centri3`
</content>
</entry>
</feed>
