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

CMP funcs should move to a separate file or emmintrin.h #10

Open
zh-wei opened this issue Jul 23, 2020 · 1 comment
Open

CMP funcs should move to a separate file or emmintrin.h #10

zh-wei opened this issue Jul 23, 2020 · 1 comment

Comments

@zh-wei
Copy link

zh-wei commented Jul 23, 2020

TYPE_FUNC_CMP_PD
FuncListCmp256Pd
g_FunListCmp256Pd
_cmp_eq_oq
_cmp_lt_os
...
These types and functions is currently defined in avxintrin.h, but used by avxintrin.h and avx512intrin.h. I suggest moving these codes to a separate file or emmintrin.h. And the global 'g_FunListCmp256Pd' 's name should be g_FunListCmpPd, since it has nothing related with bitwidth. Then the intrinsic __mm_cmp_pd (may be implement later in emmintrin.h) could also utilize these codes.

@DreamyX
Copy link
Contributor

DreamyX commented Jan 28, 2021

In the new version, 'g_FunListCmpPd' is in immintrin.h, _mm_cmp_pd and _mm256_cmp_pd are moved to immintrin.h. The new version will update soon.

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

2 participants