-
Notifications
You must be signed in to change notification settings - Fork 211
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
Implement five _mm_cmpestr
#552
Conversation
Are you ready to close #308 ? If so, append |
The |
No, let's track on #308 |
sse2neon.h
Outdated
la = SSE2NEON_MIN(la, bound); \ | ||
lb = SSE2NEON_MIN(lb, bound); | ||
|
||
#define SSE2NEON_CMPESTRX_GET_UPPER_BOUND \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you modify the function body of _mm_cmpestri
and _mm_cmpestrm
as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The SSE2NEON_CMPESTRX_GET_UPPER_BOUND
macro is used for getting upper-bound of byte/word. What's more, _mm_cmpestrs
and _mm_cmpestrz
need the upper-bound information to decide whether the input string hits upper-bound or not.
Implement _mm_cmpestra, _mm_cmpestrc, _mm_cmpestro, _mm_cmpestrs, and _mm_cmpestrz.
Implement
_mm_cmpestra
,_mm_cmpestrc
,_mm_cmpestro
,_mm_cmpestrs
, and_mm_cmpestrz
.