Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] more lanes renaming in sort #2046

Open
DenisYaroshevskiy opened this issue Jan 10, 2025 · 0 comments
Open

[FEATURE] more lanes renaming in sort #2046

DenisYaroshevskiy opened this issue Jan 10, 2025 · 0 comments

Comments

@DenisYaroshevskiy
Copy link
Collaborator

DenisYaroshevskiy commented Jan 10, 2025

@sharpobject suggested the following scheme for shuffling 4 integers
https://godbolt.org/z/qxYcjEbve

This is -1 instruction compared to what we do now and less shuffles we should figure it out.

UPD: see what @damageboy is doing here: https://github.com/damageboy/vxsort-cpp/blob/2c7f79ba539a5c1ad2acf1c2e3c0fa828da25635/vxsort/smallsort/avx2/bitonic_machine.avx2.i16.generated.h

@DenisYaroshevskiy DenisYaroshevskiy changed the title [FEATURE] more register renaming in sort [FEATURE] more lanes renaming in sort Jan 10, 2025
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

No branches or pull requests

1 participant