-
Notifications
You must be signed in to change notification settings - Fork 301
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
raid: about the input parameter restriction conditions in the headfile raid.h #236
Comments
Hi,
|
Thanks for reply. The other issue is about the len aligned. Yes, i saw tail resolvement for xor_gen/xor_check, so the len can be any value. There is no tail resolvement for pq_gen/pq_check, so the len should be aligned. However, i think for pq_gen/pq_check, the tail resolvement part can also exist if we want. From my point of view, Regardless of their registor type, the header file stipulation should be consistent for all the APIs. And as usual, the len may be multiple of 512B which is the size of a sector . So 512B should be the aligned requirement. |
1 - Correct, but avx512 uses non-aligned move (vmovdqu) instructions. Thanks! |
why should be aligned to 32B for xor_gen/pq_gen, however be aligned to 16B for xor_check/pq_check
if "Src and dest pointers must be aligned to 32B." means that the length input of xor_gen should be 32XB? or other? I saw requirement
directly for input len of pq_gen/pq_check, but not for xor_gen/xor_check.
The text was updated successfully, but these errors were encountered: