Stabilize LoongArch CRC Intrinsics#2137
Conversation
|
r? @folkertdev rustbot has assigned @folkertdev. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
Nice, can you open a new tracking issue for the new feature you just added (roughly similar to rust-lang/rust#117224, but copy the whole api surface section from your post here, that's convenient). I'll then nominate that tracking issue for T-libs-api to look at, and they can start the stabilization process. Pointing out the similarity to rust-lang/rust#117215 is also useful, as well as the fact that these intrinsics do not require a target feature |
|
And also perhaps clarify that these are only defined on |
|
@folkertdev A new tracking issue: rust-lang/rust#156908 |
|
Thanks for proposing this! I agree it makes sense to stabilize these intrinsics and I'm happy with them now that the signatures match Clang's, but I'm not 100% sure about the names yet. In Clang, all of these have an |
We previously discussed the naming of the Rust intrinsics and intentionally removed the double underscores. |
implementation: #1688
tracking issue: rust-lang/rust#156908
Following a proposal from @folkertdev and downstream interest from zlib-rs (trifectatechfoundation/zlib-rs#511), this PR proposes stabilizing the LoongArch CRC intrinsics.
Since the API only operates on scalar integer types, there are no major ABI concerns around stabilization.
API surface
The
stdarch_loongarch_crcfeature exposes 8 functions: