Skip to content

Conversation

@sayantn
Copy link
Contributor

@sayantn sayantn commented Nov 27, 2025

for some reason, similar implementation of cvtepi intrinsics of AVX512F doesn't seem to work (https://godbolt.org/z/j9h617M7T)

I have removed the pack{u}s implementations, as they had bad codegen for the avx512 variants (i couldn't keep the 128 and 256 bit variants, otherwise the masked variants, which are a part of avx512, will have bad codegen) https://godbolt.org/z/vEebTsGfb

r? @folkertdev

@sayantn sayantn force-pushed the saturation branch 2 times, most recently from bd7ba1a to 3010cd7 Compare November 27, 2025 22:12
@sayantn sayantn changed the title Use generic SIMD intrinsics for pack{u}s and cvtepi intrinsics Use generic SIMD intrinsics for cvtepi intrinsics Nov 27, 2025
@sayantn sayantn marked this pull request as ready for review November 27, 2025 23:26
@folkertdev folkertdev added this pull request to the merge queue Nov 28, 2025
Merged via the queue into rust-lang:main with commit 55dae77 Nov 28, 2025
73 checks passed
@sayantn sayantn deleted the saturation branch December 1, 2025 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants