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

conversion of logical to other wide types is not done properly yet #1952

Open
jtlap opened this issue Sep 8, 2024 · 0 comments
Open

conversion of logical to other wide types is not done properly yet #1952

jtlap opened this issue Sep 8, 2024 · 0 comments

Comments

@jtlap
Copy link
Collaborator

jtlap commented Sep 8, 2024

for logical to non logical :
on non avx512 architectures a conversion based on .bits and conversion (and possibly minus) to the required type could be done for floating or integral destinations
on avx512 there are some very fast _mm_movm_epixx that can be used

also there could be a raw option returning allbits or nan for true, the regular call returning one

for logical to logical:
a 'logical->integral-> upgraded/downgraded integral -> logical' path for non avx512 and quite a noop for avx512

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