Repository navigation
Revert "Reimplement _mm_mulhi_epi16, ... without LLVM intrinsics" - #2219
Conversation
|
r? @sayantn rustbot has assigned @sayantn. Use Why was this reviewer chosen?The reviewer was selected based on:
|
There was a problem hiding this comment.
FWIW there are also _mm512 variants of this... those should then probably also use the LLVM intrinsic?
…i16 and _mm256_mulhi_epu16 without LLVM intrinsics" This reverts commit 7abc64d.
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
@folkertdev @sayantn @Amanieu what's the plan for this one? Not sure how high you are putting the bar for when to revert back to vendor intrinsics. Personally I think if we have people actually filing bugs for seeing this in the real world, the bar is met. |
|
@eduardosm this will need some Miri changes to be reverted, right? |
Yes, done in rust-lang/miri#5358 At least for the SSE2 version. I think the AVX2 and AVX512 versions were never implemented. They do not appear in Miri test suite, but miri-test-libstd may start failing. |
… and `_mm_mulhi_epu16` These are being used again (rust-lang/stdarch#2219) due to performance regression of the generic implementation This partially reverts rust-lang/rust#116609
… and `_mm_mulhi_epu16` These are being used again (rust-lang/stdarch#2219) due to performance regression of the generic implementation This partially reverts rust-lang#116609
… and `_mm_mulhi_epu16` These are being used again (rust-lang/stdarch#2219) due to performance regression of the generic implementation This partially reverts rust-lang#116609
Reverts parts of #1477 to fix rust-lang/rust#159474.
Cc @eduardosm